Commit Graph

946 Commits

Author SHA1 Message Date
adf911876c Bump types-cryptography from 3.3.5 to 3.3.6
Bumps [types-cryptography](https://github.com/python/typeshed) from 3.3.5 to 3.3.6.
- [Release notes](https://github.com/python/typeshed/releases)
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-cryptography
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-13 09:58:24 +00:00
00e1388bea Merge pull request #379 from collerek/dependabot/pip/types-aiofiles-0.7.0 2021-10-13 09:55:50 +00:00
2c918ada06 Bump types-aiofiles from 0.1.9 to 0.7.0
Bumps [types-aiofiles](https://github.com/python/typeshed) from 0.1.9 to 0.7.0.
- [Release notes](https://github.com/python/typeshed/releases)
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-aiofiles
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-13 09:50:55 +00:00
57328ccef9 Merge pull request #377 from collerek/dependabot/pip/types-orjson-3.6.1 2021-10-13 09:48:18 +00:00
b979a6bd5b Bump types-orjson from 3.6.0 to 3.6.1
Bumps [types-orjson](https://github.com/python/typeshed) from 3.6.0 to 3.6.1.
- [Release notes](https://github.com/python/typeshed/releases)
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-orjson
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-13 09:35:49 +00:00
0227f48094 Merge pull request #376 from collerek/dependabot/pip/types-ujson-4.2.0 2021-10-13 09:33:05 +00:00
46423f1dca Bump types-ujson from 0.1.1 to 4.2.0
Bumps [types-ujson](https://github.com/python/typeshed) from 0.1.1 to 4.2.0.
- [Release notes](https://github.com/python/typeshed/releases)
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-ujson
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-13 08:58:34 +00:00
005007169c Merge pull request #375 from collerek/dependabot/pip/types-toml-0.10.1 2021-10-13 08:55:57 +00:00
875db124db Bump types-toml from 0.10.0 to 0.10.1
Bumps [types-toml](https://github.com/python/typeshed) from 0.10.0 to 0.10.1.
- [Release notes](https://github.com/python/typeshed/releases)
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-toml
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-13 08:42:49 +00:00
9fff919450 Merge pull request #374 from collerek/dependabot/pip/types-dataclasses-0.6.0 2021-10-13 08:40:06 +00:00
820a6c4c14 Bump types-dataclasses from 0.1.7 to 0.6.0
Bumps [types-dataclasses](https://github.com/python/typeshed) from 0.1.7 to 0.6.0.
- [Release notes](https://github.com/python/typeshed/releases)
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-dataclasses
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-13 08:33:24 +00:00
99d0a14905 Merge pull request #373 from collerek/dependabot/pip/types-pymysql-1.0.3 2021-10-13 08:30:29 +00:00
8682e4722c Bump types-pymysql from 1.0.2 to 1.0.3
Bumps [types-pymysql](https://github.com/python/typeshed) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/python/typeshed/releases)
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-pymysql
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-13 07:55:32 +00:00
30bc1b1346 Merge pull request #371 from collerek/dependabot/pip/mkdocs-material-7.3.3 2021-10-13 07:52:53 +00:00
10e2d01a91 update docs, bump version, update releases 2021-10-12 18:52:40 +02:00
80d7effdbe Bump mkdocs-material from 7.3.2 to 7.3.3
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 7.3.2 to 7.3.3.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/7.3.2...7.3.3)

---
updated-dependencies:
- dependency-name: mkdocs-material
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-12 02:16:39 +00:00
9559c0f7f6 inherit choices validators and class validators for fields in generated pydantic models 2021-10-11 16:22:50 +02:00
f6458be157 fix coverage 2021-10-11 12:22:47 +02:00
5a70461dff Merge pull request #370 from collerek/dependabot/pip/databases-0.5.3 2021-10-11 03:11:27 +00:00
4667786edb Bump databases from 0.5.2 to 0.5.3
Bumps [databases](https://github.com/encode/databases) from 0.5.2 to 0.5.3.
- [Release notes](https://github.com/encode/databases/releases)
- [Changelog](https://github.com/encode/databases/blob/master/CHANGELOG.md)
- [Commits](https://github.com/encode/databases/compare/0.5.2...0.5.3)

---
updated-dependencies:
- dependency-name: databases
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-11 02:23:22 +00:00
b99df7720f remove files option from pre commit config 2021-10-10 14:12:19 +02:00
d8f0dc92f0 refactor choices validation from root validator to field validator 2021-10-10 14:11:25 +02:00
d992f3dc3b add tests to pre-commit black 2021-10-09 20:28:30 +02:00
3a0fba5a60 switch to expand relationship to allow pk values as models 2021-10-09 20:21:22 +02:00
127df1e9cb fix mypy, add pre-commit 2021-10-09 19:43:21 +02:00
4896a3a982 add tests for creation from dictionaries and for m2m relations 2021-10-09 17:19:17 +02:00
6d2712c0f8 resolve merge conflicts 2021-10-09 16:30:35 +02:00
8dc1ebcb1e Merge pull request #368 from s3rius/feature/poetry
Added poetry integration.
2021-10-09 16:23:34 +02:00
f28e16dc1c add explicit packages and homepage 2021-10-09 16:12:57 +02:00
82b4e054a2 ignore overloads for now due to p3.6 errors 2021-10-09 15:47:21 +02:00
a8c218cffe update lock file :facepalm 2021-10-09 15:33:35 +02:00
bf09e42c5f add types-dataclasses for python 3.6 2021-10-09 15:28:26 +02:00
eb19290d94 Fixed mypy for python 3.7.
Signed-off-by: Pavel <win10@list.ru>
2021-10-09 15:06:39 +04:00
372dbd1304 Removed trailing whitespace.
Signed-off-by: Pavel <win10@list.ru>
2021-10-09 14:49:40 +04:00
f446962f02 Fixed dependencies issue.
Signed-off-by: Pavel <win10@list.ru>
2021-10-09 14:44:06 +04:00
bb2e0d1ddf remove reference to mypy.ini in github workflow, fix some code smells 2021-10-08 20:30:27 +02:00
b637fc0774 remove .vscode settings, re-dump orjson choices to fix choices, move mypy config into pyproject.toml 2021-10-08 20:14:03 +02:00
1b1da6c3b1 add workaround test for validation of fields in generated pydantic 2021-10-08 15:31:33 +02:00
b2541bed1e Added poetry integration.
Description:
* Fixed github actions;
* Removed requirements.txt;
* Fixed CONTRIBUTING.md;
* Fixed black and flake8.

Signed-off-by: Pavel <win10@list.ru>
2021-10-08 16:56:59 +04:00
80c6ff38a1 Merge pull request #366 from johnthagen/patch-1
Add tip about using values() to exclude required fields
2021-10-07 09:14:24 +02:00
a6c9281b6a Add tip about using values() to exclude required fields 2021-10-06 13:44:12 -04:00
94d49c66f2 Merge pull request #364 from johnthagen/patch-1
Fix grammar in queries docs
2021-10-06 09:45:04 +02:00
afa1756b47 very initial verson of construct 2021-10-05 18:50:02 +02:00
31e4e6fb8a Fix plural Models 2021-10-05 12:48:29 -04:00
3b3bd23094 Fix grammar in queries docs 2021-10-05 12:47:35 -04:00
4649fdfaae Merge pull request #361 from johnthagen/patch-2
Fix typo in select columns docs
2021-10-05 15:47:02 +02:00
fd0d59fca5 Fix typo in select columns docs 2021-10-05 09:38:32 -04:00
fc067596c8 Merge pull request #359 from collerek/fix_nullable_pk
Add extra to ignore extra fields, fix around handling None and nullable
2021-09-26 14:27:00 +02:00
ca87e74b2e fix some code smells 2021-09-26 14:20:47 +02:00
1da9111dbd add extra to Model.Meta, update docs and bump version 2021-09-26 14:07:47 +02:00