aiteamutils 0.2.119__py3-none-any.whl → 0.2.120__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.
aiteamutils/validators.py CHANGED
@@ -204,7 +204,7 @@ class Validator:
204
204
  return datetime.strptime(str(value), '%Y-%m-%d').date()
205
205
  except Exception as e:
206
206
  raise CustomException(
207
- error_code=ErrorCode.INVALID_DATE_FORMAT,
207
+ error_code=ErrorCode.VALIDATION_ERROR,
208
208
  detail=f"{field_name}|{value}",
209
209
  source_function="Validator.validate_date",
210
210
  original_error=str(e)
@@ -282,7 +282,7 @@ def date_validator(*field_names: str):
282
282
  field_names=field_names,
283
283
  validate_func=Validator.validate_date,
284
284
  field_type=date,
285
- error_code=ErrorCode.INVALID_DATE_FORMAT,
285
+ error_code=ErrorCode.VALIDATION_ERROR,
286
286
  source_prefix="date_validator"
287
287
  )
288
288
 
@@ -292,6 +292,6 @@ def datetime_validator(*field_names: str):
292
292
  field_names=field_names,
293
293
  validate_func=Validator.validate_datetime,
294
294
  field_type=datetime,
295
- error_code=ErrorCode.INVALID_DATETIME_FORMAT,
295
+ error_code=ErrorCode.VALIDATION_ERROR,
296
296
  source_prefix="datetime_validator"
297
297
  )
aiteamutils/version.py CHANGED
@@ -1,2 +1,2 @@
1
1
  """버전 정보"""
2
- __version__ = "0.2.119"
2
+ __version__ = "0.2.120"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aiteamutils
3
- Version: 0.2.119
3
+ Version: 0.2.120
4
4
  Summary: AI Team Utilities
5
5
  Project-URL: Homepage, https://github.com/yourusername/aiteamutils
6
6
  Project-URL: Issues, https://github.com/yourusername/aiteamutils/issues
@@ -8,8 +8,8 @@ aiteamutils/database.py,sha256=2D4YX8sfxZCvhKoqKSNbxyIZTb9Wc2-jsNBpLA7T7s0,19939
8
8
  aiteamutils/enums.py,sha256=7WLqlcJqQWtETAga2WAxNp3dJTQIAd2TW-4WzkoHHa8,2498
9
9
  aiteamutils/exceptions.py,sha256=zRwtEAhb6HcruZ2pFyraxdpo5YWtBTLPIWtz6lKUVU0,16287
10
10
  aiteamutils/security.py,sha256=McUl3t5Z5SyUDVUHymHdDkYyF4YSeg4g9fFMML4W6Kw,11630
11
- aiteamutils/validators.py,sha256=aDhXM8ZPK7IxnSf1RDaHpbbIY-e_YAhWMZckXYnKqok,11969
12
- aiteamutils/version.py,sha256=g4tVi7vagAwEGrphlw-Bv2ejNTs6cxcsIkNU_2umSiw,43
13
- aiteamutils-0.2.119.dist-info/METADATA,sha256=pjZU6rT-rIWp02pSB8BFlBlRP8cTXb1SuEZ59ZwwWQM,1719
14
- aiteamutils-0.2.119.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
15
- aiteamutils-0.2.119.dist-info/RECORD,,
11
+ aiteamutils/validators.py,sha256=-m_pE23JCrdi5yDKwxc5OFcw0pf6jbtujNky2ufhaLQ,11956
12
+ aiteamutils/version.py,sha256=zsZGOOxr-WJeIHaWcBXT0qupWg4Syw9SvIosOABkOX4,43
13
+ aiteamutils-0.2.120.dist-info/METADATA,sha256=cagwTS1YUYie_ZWiwpb77DPAMKZGRUhdzJM4qnTCtzA,1719
14
+ aiteamutils-0.2.120.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
15
+ aiteamutils-0.2.120.dist-info/RECORD,,