Nitay J
08/23/2021, 1:50 PMRRRuleClock
and RRuleSchedule
(which is really just a function similar to other Prefect Schedule
creators). however the flow won’t run b/c it doesn’t know how to serialize my RRuleClock
. I assume I need to write a RRuleClockSchema
so that Marshmallow will know how to serialize it. but, where I’m unclear is, it seems like I need to then add it to the type_schemas
here https://github.com/PrefectHQ/prefect/blob/a9270d965aee1e2182843e7fa75d18e1054230d0/src/prefect/serialization/schedule.py#L92. I can add to the map directly via the class, but that would obv only work locally (if at all) not on all the distributed agents. is there another way to register the RRuleClockSchema
so it can get serialized? if not it seems like I need to fork prefect code and run agents with my RRuleClock
codebase, while contributing my clock impl PR back into main branch. lmk if I’m missing something here and there’s a better way to go about thisKevin Kho
08/23/2021, 4:22 PMNitay J
08/23/2021, 4:24 PMKevin Kho
08/23/2021, 4:25 PMNitay J
08/23/2021, 4:28 PMKevin Kho
08/23/2021, 4:31 PMNitay J
08/23/2021, 4:32 PMKevin Kho
08/23/2021, 8:11 PMpendulum
. Btw before you dive too deep, I need to hear back if we would accept the PR from the core team. I should have an answer a but later.Nitay J
08/23/2021, 8:32 PMKevin Kho
08/23/2021, 8:40 PMNitay J
08/23/2021, 8:50 PMKevin Kho
08/23/2021, 8:57 PMNitay J
08/23/2021, 8:57 PMpython -m prefect.__main__ agent
in core code and python -m prefect_server.cli
in server code (requires https://github.com/PrefectHQ/server/pull/274). but doing things like python -m prefect.__main__ server start
doesn’t seem like right approach as that runs from docker images not the current codeKevin Kho
08/24/2021, 2:50 PMZanie
08/24/2021, 5:28 PMprefect-server dev infrastructure
then prefect-server dev services
to run a local development instancepython -m
?Nitay J
08/25/2021, 3:29 AMZanie
08/25/2021, 2:11 PM__main__
PRNitay J
08/25/2021, 2:55 PMKevin Kho
08/25/2021, 2:58 PMNitay J
08/30/2021, 1:13 PMChris White
08/30/2021, 3:04 PM