patito 0.8.5__py3-none-any.whl → 0.8.6__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
patito/pydantic.py CHANGED
@@ -466,7 +466,7 @@ class Model(BaseModel, metaclass=ModelMetaclass):
466
466
  Rows with invalid values: {'oven'}. (type=value_error.rowvalue)
467
467
 
468
468
  """
469
- validate(
469
+ validated_df = validate(
470
470
  dataframe=dataframe,
471
471
  schema=cls,
472
472
  columns=columns,
@@ -474,7 +474,7 @@ class Model(BaseModel, metaclass=ModelMetaclass):
474
474
  allow_superfluous_columns=allow_superfluous_columns,
475
475
  drop_superfluous_columns=drop_superfluous_columns,
476
476
  )
477
- return cls.DataFrame(dataframe)
477
+ return cls.DataFrame(validated_df)
478
478
 
479
479
  @classmethod
480
480
  def iter_models(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: patito
3
- Version: 0.8.5
3
+ Version: 0.8.6
4
4
  Summary: A dataframe modelling library built on top of polars and pydantic.
5
5
  Project-URL: Homepage, https://github.com/JakobGM/patito
6
6
  Project-URL: Repository, https://github.com/JakobGM/patito
@@ -2,7 +2,7 @@ patito/__init__.py,sha256=4qD13kfoa85_kyTCChm3xQcKKzIy3G8AZQp8T_bjcmo,844
2
2
  patito/_docs.py,sha256=9mfttyylWpqaOZv8xfDMEwCHHaY7GQwfyI7CDg7tWe8,162
3
3
  patito/exceptions.py,sha256=rv0AUVqxxnP00wmjgaqOPz0Ht6er-SjdeunHAul9brs,6034
4
4
  patito/polars.py,sha256=1AYcsJRItAnMt5TN5NI-w4plMVauGhf_HFl7rhqgb7E,38743
5
- patito/pydantic.py,sha256=yrpbjjqu8fRJkoPWt_uCAfs2yNDDBB1OviZwxnnPKpI,49456
5
+ patito/pydantic.py,sha256=KCKVkTwZ_qraQEfx-4RuTHMCGHwlLexVbZ5SUFuvyBU,49474
6
6
  patito/validators.py,sha256=Ne6mj8js3RDAcgw6p558wdic3VA7Kbu6AgDIq0X9hzg,18603
7
7
  patito/_pydantic/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
8
  patito/_pydantic/column_info.py,sha256=u6sZ2212VppgBmcISWzGNY6ZfBiNFJtlwj1lDXDFL4c,5366
@@ -11,7 +11,7 @@ patito/_pydantic/schema.py,sha256=BI2qAhNM29NxS366K9eRi8thgE2P3t8GFt1HzwlWxos,36
11
11
  patito/_pydantic/dtypes/__init__.py,sha256=2vTvL4N4yMN0cbv2CSoa1OFwCswx6FhuQdsYhMaz_dU,578
12
12
  patito/_pydantic/dtypes/dtypes.py,sha256=KETa3U01sQEub6sCckCHfNz781LOlvziRwxADkyUQyA,9842
13
13
  patito/_pydantic/dtypes/utils.py,sha256=wuJv-cYDftaN1OLCGM4sPlEMsIj7rZLlaHKezBa474U,6659
14
- patito-0.8.5.dist-info/METADATA,sha256=h65iK0hXtx89a7Srl2qGYrNJ4c1g1Bg-OHW0KS7qZg4,13439
15
- patito-0.8.5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
16
- patito-0.8.5.dist-info/licenses/LICENSE,sha256=3bc4YyuF0e5nd59E3CsR8QM1Ua7pqKfC9DD1LVBVMs4,1139
17
- patito-0.8.5.dist-info/RECORD,,
14
+ patito-0.8.6.dist-info/METADATA,sha256=-EDAjFSZI0ou2J_hE_skA32LVNgcSQipdFvytasEe18,13439
15
+ patito-0.8.6.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
16
+ patito-0.8.6.dist-info/licenses/LICENSE,sha256=3bc4YyuF0e5nd59E3CsR8QM1Ua7pqKfC9DD1LVBVMs4,1139
17
+ patito-0.8.6.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: hatchling 1.27.0
2
+ Generator: hatchling 1.28.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any