Commit Graph

1018 Commits

Author SHA1 Message Date
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
67487ebf9c fix for #354 - allow None for nullable field with choices 2021-09-26 12:43:09 +02:00
8376fb023a fix for #348 2021-09-26 12:07:08 +02:00
101ffb24e3 Merge pull request #357 from collerek/dependabot/pip/sqlalchemy-gte-1.3.18-and-lt-1.4.26
Update sqlalchemy requirement from <=1.4.23,>=1.3.18 to >=1.3.18,<1.4.26
2021-09-23 09:25:29 +02:00
1201516273 Update sqlalchemy requirement from <=1.4.23,>=1.3.18 to >=1.3.18,<1.4.26
Updates the requirements on [sqlalchemy](https://github.com/sqlalchemy/sqlalchemy) to permit the latest version.
- [Release notes](https://github.com/sqlalchemy/sqlalchemy/releases)
- [Changelog](https://github.com/sqlalchemy/sqlalchemy/blob/master/CHANGES)
- [Commits](https://github.com/sqlalchemy/sqlalchemy/commits)

---
updated-dependencies:
- dependency-name: sqlalchemy
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-23 02:11:03 +00:00
60b8554959 Merge pull request #351 from sondrelg/patch-1
Fix typo
2021-09-20 07:11:04 +02:00
41a846bc1f Fix typo 2021-09-19 21:46:29 +02:00
14b170097c Merge pull request #346 from collerek/add_index
Add multi columns non-unique index and sql_nullable setting. Important performance booster for dict().
2021-09-13 16:17:02 +02:00
8ff85fd284 Merge branch 'master' into add_index 2021-09-13 16:12:12 +02:00
896829fcd8 finish rel 2021-09-13 15:56:27 +02:00
476a853e67 Merge pull request #332 from collerek/dependabot/pip/databases-postgresql--gte-0.3.2-and-lt-0.5.2
Update databases[postgresql] requirement from <0.5.1,>=0.3.2 to >=0.3.2,<0.5.2
2021-09-12 07:32:49 +02:00
41ad1f1369 Merge pull request #333 from collerek/dependabot/pip/databases-gte-0.3.2-and-lt-0.5.2
Update databases requirement from <0.5.1,>=0.3.2 to >=0.3.2,<0.5.2
2021-09-12 07:32:05 +02:00
6eb518cb71 Update all 2021-09-12 11:40:22 +07:00
362e50fddf Update deps to 5.2 2021-09-12 11:39:22 +07:00
e5e0ff7b78 cache visited relations in iterating_models 2021-09-11 11:18:52 +02:00
beb43dd76c add caching of relation map to increase performance 2021-09-10 12:58:26 +02:00
913de2dc44 update releases info 2021-09-08 11:10:43 +02:00
8126e95ec1 change text for string to allow default in mysql 2021-09-08 09:30:49 +02:00
95adc7146a add sql_nullable param 2021-09-08 09:22:29 +02:00
cd87303b5c add multi column non unique columns 2021-09-06 16:47:37 +02:00
180691b554 Update databases requirement from <0.5.1,>=0.3.2 to >=0.3.2,<0.5.2
Updates the requirements on [databases](https://github.com/encode/databases) to permit the latest version.
- [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.3.2...0.5.1)

---
updated-dependencies:
- dependency-name: databases
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-03 07:36:19 +00:00
c87e716447 Update databases[postgresql] requirement
Updates the requirements on [databases[postgresql]](https://github.com/encode/databases) to permit the latest version.
- [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.3.2...0.5.1)

---
updated-dependencies:
- dependency-name: databases[postgresql]
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-03 07:36:15 +00:00
9f836d80b2 Merge pull request #326 from collerek/dependabot/pip/typing-extensions-gte-3.7-and-lt-3.10.0.3
Update typing-extensions requirement from <=3.7.4.3,>=3.7 to >=3.7,<3.10.0.3
2021-09-03 09:35:33 +02:00
306908eb90 Update typing-extensions requirement
Updates the requirements on [typing-extensions](https://github.com/python/typing) to permit the latest version.
- [Release notes](https://github.com/python/typing/releases)
- [Commits](https://github.com/python/typing/compare/3.7.4...3.10.0.2)

---
updated-dependencies:
- dependency-name: typing-extensions
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-01 10:12:38 +00:00
bccc47fa79 Merge pull request #329 from collerek/check_pydantic_fields_order
Bug fixes
2021-09-01 12:11:54 +02:00
46500eba39 fix for #327 and #328 2021-09-01 11:50:04 +02:00
47f2d61786 Merge pull request #325 from collerek/add_force_overwrite_pydantic_type
Add force overwrite pydantic type
2021-08-30 09:53:21 +02:00
aedebe0403 add support for sqlalchemy >=1.4 2021-08-30 09:47:38 +02:00
b70a6691b0 bump version 2021-08-27 16:12:49 +02:00