bump version

This commit is contained in:
collerek
2020-08-31 11:18:50 +02:00
parent ff2e5f09bb
commit 58c3627be7
4 changed files with 9 additions and 6 deletions

View File

@ -15,7 +15,7 @@ from ormar.fields import (
)
from ormar.models import Model
__version__ = "0.2.1"
__version__ = "0.2.2"
__all__ = [
"Integer",
"BigInteger",

View File

@ -57,7 +57,7 @@ class String(ModelFieldFactory):
_bases = (pydantic.ConstrainedStr, BaseField)
_type = str
def __new__( # noqa CFQ002
def __new__( # noqa CFQ002
cls,
*,
allow_blank: bool = False,
@ -231,7 +231,7 @@ class Decimal(ModelFieldFactory):
_bases = (pydantic.ConstrainedDecimal, BaseField)
_type = decimal.Decimal
def __new__( # noqa CFQ002
def __new__( # noqa CFQ002
cls,
*,
minimum: float = None,

View File

@ -167,8 +167,6 @@ class QuerySet:
del new_kwargs[pkname]
new_kwargs = self.model_cls.substitute_models_with_pks(new_kwargs)
# Build the insert expression.
expr = self.table.insert()
expr = expr.values(**new_kwargs)