Commit Graph

1179 Commits

Author SHA1 Message Date
52cec107fc Bump types-requests from 2.27.15 to 2.27.25 (#633)
Bumps [types-requests](https://github.com/python/typeshed) from 2.27.15 to 2.27.25.
- [Release notes](https://github.com/python/typeshed/releases)
- [Commits](https://github.com/python/typeshed/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-04 09:28:24 +01:00
f47785dcde Bump pre-commit from 2.17.0 to 2.18.1 (#608)
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 2.17.0 to 2.18.1.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pre-commit/pre-commit/compare/v2.17.0...v2.18.1)

---
updated-dependencies:
- dependency-name: pre-commit
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-04 10:20:19 +02:00
449eb090a1 Bump snok/install-poetry from 1.2 to 1.3 (#638)
Bumps [snok/install-poetry](https://github.com/snok/install-poetry) from 1.2 to 1.3.
- [Release notes](https://github.com/snok/install-poetry/releases)
- [Commits](https://github.com/snok/install-poetry/compare/v1.2...v1.3)

---
updated-dependencies:
- dependency-name: snok/install-poetry
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-04 09:16:55 +01:00
e9275a9b35 add auto merge to dpbot 2022-05-04 10:15:41 +02:00
e2855d8dad Bump fastapi from 0.75.0 to 0.75.2 (#620)
Bumps [fastapi](https://github.com/tiangolo/fastapi) from 0.75.0 to 0.75.2.
- [Release notes](https://github.com/tiangolo/fastapi/releases)
- [Commits](https://github.com/tiangolo/fastapi/compare/0.75.0...0.75.2)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-04 09:59:42 +02:00
d1e48a1423 Bump sqlalchemy from 1.4.32 to 1.4.36 (#627)
Bumps [sqlalchemy](https://github.com/sqlalchemy/sqlalchemy) from 1.4.32 to 1.4.36.
- [Release notes](https://github.com/sqlalchemy/sqlalchemy/releases)
- [Changelog](https://github.com/sqlalchemy/sqlalchemy/blob/main/CHANGES.rst)
- [Commits](https://github.com/sqlalchemy/sqlalchemy/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-04 09:57:40 +02:00
ebf7c6e06f add enum field (#626)
* add enum field

* add decorator for asyncio

* fix enum typing, additional tests, add docs

* add more tests

Co-authored-by: collerek <collerek@gmail.com>
2022-04-27 12:01:00 +02:00
2caa17812a bugfix for pkname's alias (#624) 2022-04-25 11:44:56 +02:00
801e22e58f Merge pull request #603 from collerek/dependabot/pip/types-aiofiles-0.8.6 2022-03-29 07:38:58 +00:00
9b93446fdd Bump types-aiofiles from 0.8.5 to 0.8.6
Bumps [types-aiofiles](https://github.com/python/typeshed) from 0.8.5 to 0.8.6.
- [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-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-29 07:34:18 +00:00
fb2c4bff29 Merge pull request #599 from collerek/dependabot/pip/flake8-bandit-3.0.0 2022-03-29 07:30:36 +00:00
972f521738 Bump flake8-bandit from 2.1.2 to 3.0.0
Bumps [flake8-bandit](https://github.com/tylerwince/flake8-bandit) from 2.1.2 to 3.0.0.
- [Release notes](https://github.com/tylerwince/flake8-bandit/releases)
- [Commits](https://github.com/tylerwince/flake8-bandit/commits/v3.0.0)

---
updated-dependencies:
- dependency-name: flake8-bandit
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-29 07:26:05 +00:00
07f0c1a338 Merge pull request #604 from collerek/dependabot/pip/pytest-asyncio-0.18.3 2022-03-29 07:23:04 +00:00
7aa2b40eb1 Bump pytest-asyncio from 0.16.0 to 0.18.3
Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) from 0.16.0 to 0.18.3.
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases)
- [Changelog](https://github.com/pytest-dev/pytest-asyncio/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.16.0...v0.18.3)

---
updated-dependencies:
- dependency-name: pytest-asyncio
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-29 07:18:24 +00:00
7dd20fd63e Merge pull request #602 from collerek/dependabot/pip/flake8-variables-names-0.0.5 2022-03-29 07:15:24 +00:00
2bb206ca24 Bump flake8-variables-names from 0.0.4 to 0.0.5
Bumps [flake8-variables-names](https://github.com/best-doctor/flake8-variables-names) from 0.0.4 to 0.0.5.
- [Release notes](https://github.com/best-doctor/flake8-variables-names/releases)
- [Commits](https://github.com/best-doctor/flake8-variables-names/compare/v0.0.4...v0.0.5)

---
updated-dependencies:
- dependency-name: flake8-variables-names
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-29 07:11:31 +00:00
f330c05fdb Merge pull request #579 from collerek/dependabot/pip/flake8-functions-0.0.7 2022-03-29 07:08:47 +00:00
b6e5cae664 Bump flake8-functions from 0.0.6 to 0.0.7
Bumps [flake8-functions](https://github.com/best-doctor/flake8-functions) from 0.0.6 to 0.0.7.
- [Release notes](https://github.com/best-doctor/flake8-functions/releases)
- [Commits](https://github.com/best-doctor/flake8-functions/compare/v0.0.6...v0.0.7)

---
updated-dependencies:
- dependency-name: flake8-functions
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-29 07:04:15 +00:00
9c143fad2e Merge pull request #596 from collerek/dependabot/pip/flake8-expression-complexity-0.0.11 2022-03-29 07:01:14 +00:00
bec475ad86 Bump flake8-expression-complexity from 0.0.9 to 0.0.11
Bumps [flake8-expression-complexity](https://github.com/best-doctor/flake8-expression-complexity) from 0.0.9 to 0.0.11.
- [Release notes](https://github.com/best-doctor/flake8-expression-complexity/releases)
- [Commits](https://github.com/best-doctor/flake8-expression-complexity/compare/v0.0.9...v0.0.11)

---
updated-dependencies:
- dependency-name: flake8-expression-complexity
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-29 06:44:41 +00:00
e995f95243 Bump mypy from 0.931 to 0.942 (#601)
Bumps [mypy](https://github.com/python/mypy) from 0.931 to 0.942.
- [Release notes](https://github.com/python/mypy/releases)
- [Commits](https://github.com/python/mypy/compare/v0.931...v0.942)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-29 08:41:45 +02:00
a204dd7dd5 Bump sqlalchemy from 1.4.31 to 1.4.32 (#600)
Bumps [sqlalchemy](https://github.com/sqlalchemy/sqlalchemy) from 1.4.31 to 1.4.32.
- [Release notes](https://github.com/sqlalchemy/sqlalchemy/releases)
- [Changelog](https://github.com/sqlalchemy/sqlalchemy/blob/main/CHANGES.rst)
- [Commits](https://github.com/sqlalchemy/sqlalchemy/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-29 08:15:28 +02:00
0791e46768 Bump fastapi from 0.74.1 to 0.75.0 (#595)
Bumps [fastapi](https://github.com/tiangolo/fastapi) from 0.74.1 to 0.75.0.
- [Release notes](https://github.com/tiangolo/fastapi/releases)
- [Commits](https://github.com/tiangolo/fastapi/compare/0.74.1...0.75.0)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-29 00:20:51 +02:00
fc295fa628 Bump flake8-black from 0.2.5 to 0.3.2 (#598)
Bumps [flake8-black](https://github.com/peterjc/flake8-black) from 0.2.5 to 0.3.2.
- [Release notes](https://github.com/peterjc/flake8-black/releases)
- [Commits](https://github.com/peterjc/flake8-black/compare/v0.2.5...v0.3.2)

---
updated-dependencies:
- dependency-name: flake8-black
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-28 23:58:26 +02:00
427f5ae022 Bump pytest from 6.2.5 to 7.1.1 (#597)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 6.2.5 to 7.1.1.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/6.2.5...7.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-28 19:47:49 +02:00
90f78e2fa7 Draft 0.11.0 (#594)
* fix for #584

* fix for #580

* fix typing

* connect to db in test

* refactor test

* remove async mark

* connect client

* fix mypy

* fix mypy

* update deps

* check py3.10?

* remove py3.6, bump version
2022-03-28 18:47:35 +02:00
8376b6635e Merge pull request #557 from MojixCoder/master
Update get_or_create method
2022-03-28 13:04:55 +02:00
1b4daa2c01 add _default clarification in docs 2022-03-28 12:57:48 +02:00
4776d1e32f Merge pull request #589 from erichaydel/588-fix-queryset-count-bug
Fix collerek/ormar#588 Bug in queryset count() method
2022-03-28 11:56:43 +02:00
11e6f1eecd Fix collerek/ormar#588 documentation for distinct keyword to count method 2022-03-17 14:10:59 -04:00
606a592038 Fix collerk/ormar#588 bug in querysetproxy count() method 2022-03-17 14:08:53 -04:00
a7e78bbf8c Fix collerek/ormar#588 Bug in queryset count() method 2022-03-09 17:51:34 -05:00
989e11e066 Merge pull request #576 from collerek/check_null_json
Add plugable queryset_class, enhance IndexColumns and bug fixes
2022-02-25 12:16:47 +01:00
b599cc2e4f fix json dates 2022-02-25 11:53:58 +01:00
d15c4c5c6a change orjson deps 2022-02-25 11:42:50 +01:00
be7a0ff9c1 prepare_next_rel 2022-02-25 11:30:32 +01:00
f26fafe04c fix json nullable column 2022-02-25 10:46:33 +01:00
5718999643 Merge pull request #575 from zevisert/master
fix: IndexConstraint should pass kw-args to sqlalchemy
2022-02-25 09:35:28 +01:00
a01d1470c4 fix: IndexConstraint should pass kw-args to sqlalchemy 2022-02-24 17:12:28 -08:00
cd6d9c85af Lint code base using black 2022-02-06 19:20:27 +03:30
4431a643d5 Update get_or_create method and its tests 2022-02-06 19:14:17 +03:30
2517572a14 Reformat project 2022-02-01 10:33:29 +03:30
0791e7cc4b Update docs 2022-02-01 10:28:11 +03:30
fc32001fe7 Update get_or_create method 2022-02-01 09:44:07 +03:30
4ed267e5c3 Merge pull request #538 from ponytailer/bugfix-bulk-create
Bugfix: dumps the object which has the json fields in bulk create
2022-01-26 18:07:08 +01:00
0e167dc89f use existing encode_json to avoid code duplication, rename queryset customization param and move it to Meta, move docs to models from inheritance 2022-01-26 17:59:00 +01:00
33b492216d fix ident 2022-01-25 17:52:20 +08:00
5c233a6256 Merge branch 'master' into bugfix-bulk-create 2022-01-21 10:25:29 +08:00
1abd96067c update dep 2022-01-21 10:07:40 +08:00
6297846819 orjson test and doc 2022-01-21 10:03:00 +08:00