You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
raise SkipField(f'Callable {field.name} was excluded from schema since JSON schema has no equivalent type.')
E pydantic.v1.schema.SkipField: Callable job_submission_handler was excluded from schema since JSON schema has no equivalent type.
Full stack trace:
During handling of the above exception, another exception occurred:
test_run_notebook.py:6: in <module>
from ...
../../../.../tasks/databricks/run_notebook.py:10: in <module>
from prefect_databricks.flows import jobs_runs_submit_and_wait_for_completion
PATH/lib/python3.9/site-packages/prefect_databricks/flows.py:61: in <module>
async def jobs_runs_submit_and_wait_for_completion(
PATH/lib/python3.9/site-packages/prefect/flows.py:1382: in flow
Flow(
PATH/lib/python3.9/site-packages/prefect/context.py:186: in __register_init__
original_init(__self__, *args, **kwargs)
PATH/lib/python3.9/site-packages/prefect/flows.py:307: in __init__
self.parameters = parameter_schema(self.fn)
PATH/lib/python3.9/site-packages/prefect/utilities/callables.py:340: in parameter_schema
create_schema(
PATH/lib/python3.9/site-packages/prefect/utilities/callables.py:296: in create_v1_schema
return model.schema(by_alias=True)
PATH/lib/python3.9/site-packages/pydantic/v1/main.py:664: in schema
s = model_schema(cls, by_alias=by_alias, ref_template=ref_template)
PATH/lib/python3.9/site-packages/pydantic/v1/schema.py:188: in model_schema
m_schema, m_definitions, nested_models = model_process_schema(
PATH/lib/python3.9/site-packages/pydantic/v1/schema.py:582: in model_process_schema
m_schema, m_definitions, nested_models = model_type_schema(
PATH/lib/python3.9/site-packages/pydantic/v1/schema.py:632: in model_type_schema
warnings.warn(skip.message, UserWarning)
E UserWarning: Callable job_submission_handler was excluded from schema since JSON schema has no equivalent type.
I have a flow which wraps the call for
jobs_runs_submit_and_wait_for_completion
:But I receive the following error:
Full stack trace:
I am using poetry for dependency management.
My
pyproject.toml
: (oversimplified)Python version
3.9.6
The text was updated successfully, but these errors were encountered: