File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ class GetNokoEntriesParameters(BaseModel):
6060
6161 user_ids : str | list | None = None
6262 description : str | None = None
63- project_ids : str | list | None = None
63+ project_ids : str | int | list | None = None
6464 tag_ids : str | list | None = None
6565 tag_filter_type : str | None = None
6666 from_ : str | datetime | None = Field (alias = "from" , default = None )
Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ def format_date(value: str | datetime) -> str:
2626
2727def format_id_lists (value : str | int | list | None ) -> str | None :
2828 """If IDs provided as lists, convert to a comma separated string."""
29+ if value is None :
30+ return None
2931 return list_to_string (value ) if isinstance (value , list ) else str (value )
3032
3133
You can’t perform that action at this time.
0 commit comments