prefect block register -m prefect_sqlalchemy is t...
# prefect-getting-started
j
prefect block register -m prefect_sqlalchemy is throwing error
Copy code
File "/home/jpasha/miniconda3/lib/python3.11/site-packages/pydantic/v1/schema.py", line 951, in field_singleton_schema
    raise ValueError(f'Value not declarable with JSON Schema, field: {field}')
ValueError: Value not declarable with JSON Schema, field: name='password' type=Optional[SecretStr] required=False default=None
An exception occurred.
j
Sorry to hear that that @Javeed Pasha. Does it work if you upgrade Prefect with
pip install -U prefect
?