Skip to content
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

Fix wrong type for parameter #5127

Merged
merged 1 commit into from Mar 1, 2023

Conversation

JensHeinrich
Copy link

The parameter shouldn't be set anymore anyway

skip change file check

Copy link
Member

@hramezani hramezani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 Thanks!

@hramezani hramezani merged commit 1840864 into pydantic:1.10.X-fixes Mar 1, 2023
renovate bot added a commit to allenporter/pyrainbird that referenced this pull request Mar 10, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [pydantic](https://togithub.com/pydantic/pydantic) | `==1.10.5` ->
`==1.10.6` |
[![age](https://badges.renovateapi.com/packages/pypi/pydantic/1.10.6/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/pypi/pydantic/1.10.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/pypi/pydantic/1.10.6/compatibility-slim/1.10.5)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/pypi/pydantic/1.10.6/confidence-slim/1.10.5)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>pydantic/pydantic</summary>

###
[`v1.10.6`](https://togithub.com/pydantic/pydantic/releases/tag/v1.10.6):
2023-03-02

[Compare
Source](https://togithub.com/pydantic/pydantic/compare/v1.10.5...v1.10.6)

#### What's Changed

- Implement logic to support creating validators from non standard
callables by using defaults to identify them and unwrapping
`functools.partial` and `functools.partialmethod` when checking the
signature,
[#&#8203;5126](https://togithub.com/pydantic/pydantic/issues/5126) by
[@&#8203;JensHeinrich](https://togithub.com/JensHeinrich)
- Fix mypy plugin for v1.1.1, and fix `dataclass_transform` decorator
for pydantic dataclasses,
[#&#8203;5111](https://togithub.com/pydantic/pydantic/issues/5111) by
[@&#8203;cdce8p](https://togithub.com/cdce8p)
- Raise `ValidationError`, not `ConfigError`, when a discriminator value
is unhashable,
[#&#8203;4773](https://togithub.com/pydantic/pydantic/issues/4773) by
[@&#8203;kurtmckee](https://togithub.com/kurtmckee)

#### New Contributors

- [@&#8203;mrmammadov](https://togithub.com/mrmammadov) made their first
contribution in
[pydantic/pydantic#5074
- [@&#8203;JensHeinrich](https://togithub.com/JensHeinrich) made their
first contribution in
[pydantic/pydantic#5127
- [@&#8203;kurtmckee](https://togithub.com/kurtmckee) made their first
contribution in
[pydantic/pydantic#5132

**Full Changelog**:
pydantic/pydantic@v1.10.5...v1.10.6

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/allenporter/pyrainbird).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xNTkuMiIsInVwZGF0ZWRJblZlciI6IjM0LjE1OS4yIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot added a commit to allenporter/flux-local that referenced this pull request Mar 11, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [pydantic](https://togithub.com/pydantic/pydantic) | `==1.10.5` ->
`==1.10.6` |
[![age](https://badges.renovateapi.com/packages/pypi/pydantic/1.10.6/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/pypi/pydantic/1.10.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/pypi/pydantic/1.10.6/compatibility-slim/1.10.5)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/pypi/pydantic/1.10.6/confidence-slim/1.10.5)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>pydantic/pydantic</summary>

###
[`v1.10.6`](https://togithub.com/pydantic/pydantic/releases/tag/v1.10.6):
2023-03-02

[Compare
Source](https://togithub.com/pydantic/pydantic/compare/v1.10.5...v1.10.6)

##### What's Changed

- Implement logic to support creating validators from non standard
callables by using defaults to identify them and unwrapping
`functools.partial` and `functools.partialmethod` when checking the
signature,
[#&#8203;5126](https://togithub.com/pydantic/pydantic/issues/5126) by
[@&#8203;JensHeinrich](https://togithub.com/JensHeinrich)
- Fix mypy plugin for v1.1.1, and fix `dataclass_transform` decorator
for pydantic dataclasses,
[#&#8203;5111](https://togithub.com/pydantic/pydantic/issues/5111) by
[@&#8203;cdce8p](https://togithub.com/cdce8p)
- Raise `ValidationError`, not `ConfigError`, when a discriminator value
is unhashable,
[#&#8203;4773](https://togithub.com/pydantic/pydantic/issues/4773) by
[@&#8203;kurtmckee](https://togithub.com/kurtmckee)

##### New Contributors

- [@&#8203;mrmammadov](https://togithub.com/mrmammadov) made their first
contribution in
[pydantic/pydantic#5074
- [@&#8203;JensHeinrich](https://togithub.com/JensHeinrich) made their
first contribution in
[pydantic/pydantic#5127
- [@&#8203;kurtmckee](https://togithub.com/kurtmckee) made their first
contribution in
[pydantic/pydantic#5132

**Full Changelog**:
pydantic/pydantic@v1.10.5...v1.10.6

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/allenporter/flux-local).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xNjAuMCIsInVwZGF0ZWRJblZlciI6IjM0LjE2MC4wIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants