Giovanni Paolo
06/27/2023, 2:29 PMsean
06/27/2023, 2:34 PMfmt
parameter of WeeklyPartitionsDefinition
. This parameter is passed to datetime.strptime
.Giovanni Paolo
06/27/2023, 2:35 PMGiovanni Paolo
06/27/2023, 2:35 PMfmt
is for parsing the start_date
in the definitionGiovanni Paolo
06/27/2023, 2:36 PMGiovanni Paolo
06/27/2023, 2:36 PMsean
06/27/2023, 2:38 PMfmt
parameter for strptime
and strftime
. So I don’t think this is possible at present, but I think it is functionality that could be added (an optional partition key formatting parameter), though unlikely to be prioritized.
If you’re interested, would you mind opening a GH issue for it?
https://github.com/dagster-io/dagster/issuesGiovanni Paolo
06/27/2023, 2:39 PMGiovanni Paolo
06/27/2023, 2:40 PMGiovanni Paolo
06/27/2023, 2:40 PMsean
06/27/2023, 2:42 PMGiovanni Paolo
06/27/2023, 2:44 PMGiovanni Paolo
06/27/2023, 2:53 PM