-
Notifications
You must be signed in to change notification settings - Fork 77
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
Pr/aleksander pawlak/170 #186
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fix flake8 Fix deprecated usage of 'self'
* [README] Update README.md to address issue #183 * Update README.md * fix typo in README.md Co-authored-by: Ophir LOJKINE <pere.jobs@gmail.com>
* Fix use of typing.NewType in Python 3.10 https://docs.python.org/3.10/library/typing.html#typing.NewType "Changed in version 3.10: NewType is now a class rather than a function." * Add Python 3.10 to GitHub workflow test matrix Note the use of strings: otherwise YAML thinks we want to test Python 3.1 * Pin types-dataclasses version for Python 3.6 It looks broken for Python 3.6 due to python/typeshed@a40d79a
This was referenced Apr 21, 2022
lovasoa
added a commit
to epenet/marshmallow_dataclass
that referenced
this pull request
Apr 21, 2022
* Fix forward references * Fix forward references * Add comment; Remove unused imports * Remove unused imports Fix flake8 Fix deprecated usage of 'self' * Add usage inspect.stack to get locals from scope of class declaration * Fix proper passing of class definition frame to class_schema of nested fields * Change lambda to partial * Add params im test_class_schema * Fix type annotation in dataclass decorator. Add better doc * [README] Add documentation about Union types (lovasoa#184) * [README] Update README.md to address issue lovasoa#183 * Update README.md * fix typo in README.md Co-authored-by: Ophir LOJKINE <pere.jobs@gmail.com> * Fix use of typing.NewType in Python 3.10 (lovasoa#180) * Fix use of typing.NewType in Python 3.10 https://docs.python.org/3.10/library/typing.html#typing.NewType "Changed in version 3.10: NewType is now a class rather than a function." * Add Python 3.10 to GitHub workflow test matrix Note the use of strings: otherwise YAML thinks we want to test Python 3.1 * Pin types-dataclasses version for Python 3.6 It looks broken for Python 3.6 due to python/typeshed@a40d79a * fix ci (lovasoa#185) * Update dev dependencies * mypy has gotten smarter, and it tries to do an automatic cast that breaks our code * drop support for pre-commit hooks on 3.6 * downgrade types-dataclass Co-authored-by: Adrian Dankiv <adank@softserveinc.com> Co-authored-by: Adrian Dankiv <adr-007@ukr.net> Co-authored-by: Aleksander Pawlak <aleksander.pawlak@emplocity.pl> Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com> Co-authored-by: Nicolas Noirbent <nicolas.noirbent@lumapps.com>
lovasoa
added a commit
that referenced
this pull request
Apr 21, 2022
* Relax constraints on typing-extensions * [README] Add documentation about Union types (#184) * [README] Update README.md to address issue #183 * Update README.md * fix typo in README.md Co-authored-by: Ophir LOJKINE <pere.jobs@gmail.com> * Fix use of typing.NewType in Python 3.10 (#180) * Fix use of typing.NewType in Python 3.10 https://docs.python.org/3.10/library/typing.html#typing.NewType "Changed in version 3.10: NewType is now a class rather than a function." * Add Python 3.10 to GitHub workflow test matrix Note the use of strings: otherwise YAML thinks we want to test Python 3.1 * Pin types-dataclasses version for Python 3.6 It looks broken for Python 3.6 due to python/typeshed@a40d79a * fix ci (#185) * Update dev dependencies * mypy has gotten smarter, and it tries to do an automatic cast that breaks our code * drop support for pre-commit hooks on 3.6 * downgrade types-dataclass * Pr/aleksander pawlak/170 (#186) * Fix forward references * Fix forward references * Add comment; Remove unused imports * Remove unused imports Fix flake8 Fix deprecated usage of 'self' * Add usage inspect.stack to get locals from scope of class declaration * Fix proper passing of class definition frame to class_schema of nested fields * Change lambda to partial * Add params im test_class_schema * Fix type annotation in dataclass decorator. Add better doc * [README] Add documentation about Union types (#184) * [README] Update README.md to address issue #183 * Update README.md * fix typo in README.md Co-authored-by: Ophir LOJKINE <pere.jobs@gmail.com> * Fix use of typing.NewType in Python 3.10 (#180) * Fix use of typing.NewType in Python 3.10 https://docs.python.org/3.10/library/typing.html#typing.NewType "Changed in version 3.10: NewType is now a class rather than a function." * Add Python 3.10 to GitHub workflow test matrix Note the use of strings: otherwise YAML thinks we want to test Python 3.1 * Pin types-dataclasses version for Python 3.6 It looks broken for Python 3.6 due to python/typeshed@a40d79a * fix ci (#185) * Update dev dependencies * mypy has gotten smarter, and it tries to do an automatic cast that breaks our code * drop support for pre-commit hooks on 3.6 * downgrade types-dataclass Co-authored-by: Adrian Dankiv <adank@softserveinc.com> Co-authored-by: Adrian Dankiv <adr-007@ukr.net> Co-authored-by: Aleksander Pawlak <aleksander.pawlak@emplocity.pl> Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com> Co-authored-by: Nicolas Noirbent <nicolas.noirbent@lumapps.com> Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com> Co-authored-by: Ophir LOJKINE <pere.jobs@gmail.com> Co-authored-by: Nicolas Noirbent <nicolas.noirbent@lumapps.com> Co-authored-by: Adrian Dankiv <adank@softserveinc.com> Co-authored-by: Adrian Dankiv <adr-007@ukr.net> Co-authored-by: Aleksander Pawlak <aleksander.pawlak@emplocity.pl>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Updated version of: #54
Fix for: #13
closes #170