Klemen Strojan
05/31/2024, 6:43 AM14:02:50.211 | DEBUG | prefect.profiles - Using profile 'default'
14:02:52.903 | DEBUG | prefect.profiles - Using profile 'default'
Set 'PREFECT_LOGGING_LEVEL' to 'DEBUG'.
Updated profile 'default'.
14:03:02.337 | DEBUG | prefect.profiles - Using profile 'default'
Logged out from Prefect Cloud.
14:03:06.457 | DEBUG | prefect.profiles - Using profile 'default'
Authenticated with Prefect Cloud! Using workspace 'foo-bar/default'.
14:03:08.271 | DEBUG | prefect.client - Connecting to API at <https://api.prefect.cloud/api/accounts/foo/workspaces/bar/>
14:03:10.892 | INFO | prefect.engine - Created flow run 'true-labradoodle' for flow 'my-flow'
Running the exact same code on AKS, but as a cron job, is not showing on Prefect Cloud. Here is the log:
Set 'PREFECT_LOGGING_LEVEL' to 'DEBUG'.
Updated profile 'default'.
14:05:58.456 | DEBUG | prefect.profiles - Using profile 'default'
Current profile is not logged into Prefect Cloud.
14:06:03.071 | DEBUG | prefect.profiles - Using profile 'default'
Authenticated with Prefect Cloud! Using workspace 'foo-bar/default'.
/opt/continuum/envs/analytics_202406/lib/python3.11/contextlib.py:144: SAWarning: Skipped unsupported reflection of expression-based index ix_flow_run__coalesce_start_time_expected_start_time_desc
next(self.gen)
/opt/continuum/envs/analytics_202406/lib/python3.11/contextlib.py:144: SAWarning: Skipped unsupported reflection of expression-based index ix_flow_run__coalesce_start_time_expected_start_time_asc
next(self.gen)
14:06:13.055 | INFO | prefect.engine - Created flow run 'ethereal-turtle' for flow 'my-flow'
I've raised this issue with the data science platform folks, however I'd really appreciate any insight you may have on why is this a thing.