aiteamutils 0.2.119__tar.gz → 0.2.120__tar.gz

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.
@@ -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
@@ -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
  )
@@ -0,0 +1,2 @@
1
+ """버전 정보"""
2
+ __version__ = "0.2.120"
@@ -1,2 +0,0 @@
1
- """버전 정보"""
2
- __version__ = "0.2.119"
File without changes
File without changes
File without changes