@@ -43,7 +43,7 @@ class CategoryChild(LunchableModel):
43
43
"""
44
44
45
45
id : int
46
- name : str = Field (min_length = 1 , max_length = 40 )
46
+ name : str = Field (min_length = 1 , max_length = 100 )
47
47
description : Optional [str ] = Field (None , max_length = 140 )
48
48
created_at : Optional [datetime .datetime ] = None
49
49
@@ -58,7 +58,7 @@ class CategoriesObject(LunchableModel):
58
58
id : int = Field (description = "A unique identifier for the category." )
59
59
name : str = Field (
60
60
min_length = 1 ,
61
- max_length = 40 ,
61
+ max_length = 100 ,
62
62
description = _CategoriesDescriptions .name ,
63
63
)
64
64
description : Optional [str ] = Field (
@@ -95,7 +95,7 @@ class _CategoriesParamsPut(LunchableModel):
95
95
https://lunchmoney.dev/#update-category
96
96
"""
97
97
98
- name : Optional [str ] = Field (None , min_length = 1 , max_length = 40 )
98
+ name : Optional [str ] = Field (None , min_length = 1 , max_length = 100 )
99
99
description : Optional [str ] = Field (None , max_length = 140 )
100
100
is_income : Optional [bool ] = None
101
101
exclude_from_budget : Optional [bool ] = None
@@ -202,7 +202,7 @@ def insert_category(
202
202
Parameters
203
203
----------
204
204
name: str
205
- Name of category. Must be between 1 and 40 characters.
205
+ Name of category. Must be between 1 and 100 characters.
206
206
description: Optional[str]
207
207
Description of category. Must be less than 140 categories. Defaults to None.
208
208
is_income: Optional[bool]
@@ -349,7 +349,7 @@ def update_category(
349
349
category_id : int
350
350
Id of the Lunch Money Category
351
351
name: str
352
- Name of category. Must be between 1 and 40 characters.
352
+ Name of category. Must be between 1 and 100 characters.
353
353
description: Optional[str]
354
354
Description of category. Must be less than 140 categories. Defaults to None.
355
355
is_income: Optional[bool]
@@ -405,7 +405,7 @@ def insert_category_group(
405
405
Parameters
406
406
----------
407
407
name: str
408
- Name of category. Must be between 1 and 40 characters.
408
+ Name of category. Must be between 1 and 100 characters.
409
409
description: Optional[str]
410
410
Description of category. Must be less than 140 categories. Defaults to None.
411
411
is_income: Optional[bool]
0 commit comments