-
Notifications
You must be signed in to change notification settings - Fork 34
⬆️ upgrades pydantic family repo-wide #8015
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
⬆️ upgrades pydantic family repo-wide #8015
Conversation
…rting with a specified prefix
…h `startswith` option
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #8015 +/- ##
==========================================
- Coverage 88.20% 88.19% -0.01%
==========================================
Files 1880 1880
Lines 72278 72284 +6
Branches 1272 1272
==========================================
+ Hits 63750 63751 +1
- Misses 8153 8159 +6
+ Partials 375 374 -1
Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
pydantic.warnings.PydanticDeprecatedSince211: Accessing the 'model_fields' attribute on the instance is deprecated. Instead, you should access this attribute from the model class. Deprecated in Pydantic V2.11 to be removed in V3.0
populate_by_name usage is not recommended in v2.11+ and will be deprecated in v3. Instead, you should use the validate_by_name configuration setting. https://docs.pydantic.dev/latest/api/config/#pydantic.config.ConfigDict.populate_by_name
c976001
to
00148b0
Compare
…tibility with pydantic v2.11+ feat: include `POSTGRES_CLIENT_NAME` as a validation alias in `PostgresSettings`
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As far as I understand the addAdditionalProperties looks ok to me.
@mergify queue |
🟠 Waiting for conditions to match
|
|
What do these changes do?
Updates pydantic family (provided
pydantic-settings<2.7.1
is repo-wide constraint due to an open issue that we will follow up in a spearate PR)Latest version improves json-schemas in the openapi specs
HttpUrl
produces now correct schema with"format"="uri"
dict[str, Any]
produces a schema with"additionalProperties": true
Changes
api-server⬆️🧪
autoscaling⬆️🧪
aws-library🧪🧪
catalog⬆️
celery-library🧪
clusters-keeper⬆️🧪
common-library🧪🧪
dask-sidecar⬆️🧪
dask-task-models-library🧪
datcore-adapter⬆️
director-v2⬆️
director⬆️
docker-api-proxy🧪
dynamic-scheduler⬆️
dynamic-sidecar⬆️
e2e-playwright🧪🧪
environment-setup🧪
helpers🧪
invitations⬆️
models-library🧪
notifications-library🧪
notifications⬆️
payments⬆️
performance🧪
postgres-database🧪
public-api🧪
resource-usage-tracker⬆️🧪
service-integration🧪
service-library🧪🧪
settings-library🧪
simcore-sdk🧪🧪
storage⬆️🧪
swarm-deploy🧪
web⬆️🧪
api-server⬆️🧪
aws-library🧪🧪
catalog⬆️
common-library🧪🧪
datcore-adapter⬆️
director⬆️
docker-api-proxy🧪
dynamic-scheduler⬆️
dynamic-sidecar⬆️
e2e-playwright🧪🧪
environment-setup🧪
helpers🧪
invitations⬆️
models-library🧪
notifications-library🧪
notifications⬆️
payments⬆️
postgres-database🧪
public-api🧪
resource-usage-tracker⬆️🧪
service-integration🧪
service-library🧪🧪
settings-library🧪
simcore-sdk🧪🧪
storage⬆️🧪
swarm-deploy🧪
web⬆️🧪
api-server⬆️
autoscaling⬆️
aws-library🧪
catalog⬆️
celery-library🧪
clusters-keeper⬆️
common-library🧪
dask-sidecar⬆️
dask-task-models-library🧪
datcore-adapter⬆️
director-v2⬆️
director⬆️
docker-api-proxy🧪
dynamic-scheduler⬆️
dynamic-sidecar⬆️
invitations⬆️
models-library🧪
notifications-library🧪
notifications⬆️
payments⬆️
postgres-database🧪
public-api🧪
resource-usage-tracker⬆️
service-integration🧪
service-library🧪
settings-library🧪
simcore-sdk🧪
storage⬆️
swarm-deploy🧪
web⬆️
datcore-adapter⬆️
director⬆️
payments⬆️
performance🧪
resource-usage-tracker⬆️
web⬆️
Legend: