mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-17 11:19:47 +00:00
ignore attributes added by AuthorizedSqlStore
This commit is contained in:
parent
42d15a4516
commit
da2238be37
1 changed files with 1 additions and 0 deletions
|
|
@ -94,6 +94,7 @@ def _make_file_object(
|
||||||
bytes: int,
|
bytes: int,
|
||||||
created_at: int,
|
created_at: int,
|
||||||
expires_at: int,
|
expires_at: int,
|
||||||
|
**kwargs: Any, # here to ignore any additional fields, e.g. extra fields from AuthorizedSqlStore
|
||||||
) -> OpenAIFileObject:
|
) -> OpenAIFileObject:
|
||||||
"""
|
"""
|
||||||
Construct an OpenAIFileObject and normalize expires_at.
|
Construct an OpenAIFileObject and normalize expires_at.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue