Please login to access the resource

Revisions of python-pydantic

Markéta Machová's avatar Markéta Machová (mcalabkova) accepted request 861663 from Markéta Machová's avatar Markéta Machová (mcalabkova) (revision 16)
Staging:I

- Update to 1.7.3
  * python 3.9 support
  * Private model attributes
  * "secrets files" support in BaseSettings
  * convert stdlib dataclasses to pydantic dataclasses and use stdlib dataclasses in models
  * few bugfixes
- Drop validate-config.patch
buildservice-autocommit accepted request 853456 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 15)
baserev update by copy to link target
Matej Cepl's avatar Matej Cepl (mcepl) accepted request 853452 from Benjamin Greiner's avatar Benjamin Greiner (bnavigator) (revision 14)
- Add dataclasses requirement for Python 3.6: Fixes Leap 15.2 build
  and future TW python36 flavor gh#openSUSE/python-rpm-macros#66
buildservice-autocommit accepted request 841235 from Markéta Machová's avatar Markéta Machová (mcalabkova) (revision 13)
baserev update by copy to link target
Markéta Machová's avatar Markéta Machová (mcalabkova) accepted request 841234 from Markéta Machová's avatar Markéta Machová (mcalabkova) (revision 12)
- Add upstream patch validate-config.patch which fixes build with new pytest
buildservice-autocommit accepted request 824184 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 11)
baserev update by copy to link target
Matej Cepl's avatar Matej Cepl (mcepl) accepted request 824025 from John Vandenberg's avatar John Vandenberg (jayvdb) (revision 10)
- Update to v1.6.1
  * fix validation and parsing of nested models with default_factory
- from v1.6
  * ...
buildservice-autocommit accepted request 813030 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 9)
baserev update by copy to link target
Dirk Mueller's avatar Dirk Mueller (dirkmueller) committed (revision 8)
- update to 1.5.1
  * Signature generation with `extra: allow` never uses a field name, #1418 by @prettywood
  * Avoid mutating `Field` default value, #1412 by @prettywood
buildservice-autocommit accepted request 795465 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 7)
baserev update by copy to link target
Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) accepted request 795387 from Martin Hauke's avatar Martin Hauke (mnhauke) (revision 6)
- Update to version 1.5
  * Make includes/excludes arguments for .dict(), ._iter(), ...,
    immutable
  * Always use a field's real name with includes/excludes in
    model._iter(), regardless of by_alias, #1397 by @AlexECX
  * Update constr regex example to include start and end lines,
  * Confirm that shallow model.copy() does make a shallow copy of
    attributes
  * Renaming model_name argument of main.create_model()
    to __model_name to allow using model_name as a field name
  * Replace raising of exception to silent passing for non-Var
    attributes in mypy plugin
  * Remove typing_extensions dependency for python 3.8
  * Make SecretStr and SecretBytes initialization idempotent
  * document making secret types dumpable using the json method
  * fix card number length check in PaymentCardNumber,
    PaymentCardBrand  now inherits from str
  * Have BaseModel inherit from Representation to make mypy happy
    when overriding __str__
  * Allow None as input to all optional list fields
  * Add datetime field to default_factory example
  * Allow subclasses of known types to be encoded with superclass
    encoder
  * Exclude exported fields from all elements of a list/tuple of
    submodels/dicts with '__all__', #1286 by @masalim2
  * Add pydantic.color.Color objects as available input for Color
    fields
  * In examples, type nullable fields as Optional, so that these
    are valid mypy annotations
  * Make pattern_validator() accept pre-compiled Pattern objects.
buildservice-autocommit accepted request 786483 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 5)
baserev update by copy to link target
Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) accepted request 786480 from Markéta Machová's avatar Markéta Machová (mcalabkova) (revision 4)
- Update to version 1.4
  * rename Schema to Field, make it a function to placate mypy
  * Implement root_validator and rename root errors from __obj__ to __root__
  * Added initvars support to post_init_post_parse
  * complete rewrite of URL parsing logic
  * BaseSettings now uses the special env settings to define which 
    environment variables to read, not aliases
  * add support for assert statements inside validators
  * Change the precedence of aliases so child model aliases override 
    parent aliases, including using alias_generator
  * Add a mypy plugin for type checking BaseModel.__init__ and more
  * Add support for typing.Literal for Python 3.8
  * Add a ByteSize type for converting byte string (1GB) to plain bytes
  * Add support for required Optional with name: Optional[AnyType] = Field(...) 
    and refactor ModelField creation to preserve required parameter value
  * Add __eq__ to SecretStr and SecretBytes to allow "value equals"
  * Add support for nested generic models
  * alias precedence logic changed so aliases on a field always take 
    priority over an alias from alias_generator
  * many more fixes and improvements
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 732119 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 3)
initialized devel package after accepting 732119
Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) committed (revision 2)
- Format with spec-cleaner
Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) accepted request 732025 from Martin Hauke's avatar Martin Hauke (mnhauke) (revision 1)
Initial package fro python-pydantic
Displaying revisions 41 - 56 of 56
openSUSE Build Service is sponsored by