https://prefect.io logo
a

Amanda Wee

01/12/2021, 4:29 AM
Just a heads up: the docs currently state that "After registration, the flow will be stored in the specified bucket under 
s3-flow/<slugified-current-timestamp>
." over here: https://docs.prefect.io/orchestration/flow_config/storage.html#aws-s3 and also: "If this key is not provided the Flow upload name will take the form 
slugified-flow-name/slugified-current-timestamp
." over here: https://docs.prefect.io/api/latest/storage.html#s3 It turns out that the latter is correct (which was not what I expected grr)
c

Chris White

01/12/2021, 4:36 AM
Hi @Amanda Wee - I think the confusion originates from the generic name of the flow in the top example; the flow name in that case is
"s3-flow"
which is the slugified-flow-name but I definitely can see where that causes confusion; if you’d like to PR a name change to that example we’d definitely accept it!
a

Amanda Wee

01/12/2021, 4:37 AM
Also, the latter docs state:
Copy code
Flows registered with this Storage option will automatically be labeled with s3-flow-storage.
but from what I see, this isn't happening: my flows have no label at all
@Chris White yeah, that makes sense. Would be better to be consistent with the latter doc as that's more obviously metasyntatic.
c

Chris White

01/12/2021, 4:38 AM
ah yes that behavior changed very recently with 0.14.0 so we should update that
@Marvin open “Storage label documentation updates”
a

Amanda Wee

01/12/2021, 4:38 AM
oh, you mean the automatic label with
s3-flow-storage
is since 0.14.0? I'm running 0.14.2
c

Chris White

01/12/2021, 4:39 AM
the automatic labeling was actually removed in 0.14.0
a

Amanda Wee

01/12/2021, 4:39 AM
ahh