Skip to content

Commit

Permalink
fix: Fix variants in metadata query results (box/box-openapi#456)
Browse files Browse the repository at this point in the history
  • Loading branch information
box-sdk-build committed Sep 11, 2024
1 parent 06d8e40 commit e4eba74
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .codegen.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "engineHash": "5b7aecf", "specHash": "915b38a", "version": "1.4.1" }
{ "engineHash": "5b7aecf", "specHash": "b21666d", "version": "1.4.1" }
4 changes: 2 additions & 2 deletions box_sdk_gen/schemas/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,8 +282,6 @@

from box_sdk_gen.schemas.folder import *

from box_sdk_gen.schemas.metadata_query_results import *

from box_sdk_gen.schemas.legal_hold_policy_assignment import *

from box_sdk_gen.schemas.legal_hold_policy_assignments import *
Expand All @@ -304,6 +302,8 @@

from box_sdk_gen.schemas.recent_items import *

from box_sdk_gen.schemas.metadata_query_results import *

from box_sdk_gen.schemas.event import *

from box_sdk_gen.schemas.events import *
Expand Down
2 changes: 1 addition & 1 deletion box_sdk_gen/schemas/file_full.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

from box_sdk_gen.schemas.file_or_folder_scope import FileOrFolderScope

from box_sdk_gen.schemas.metadata import Metadata
from box_sdk_gen.schemas.metadata_full import MetadataFull

from box_sdk_gen.internal.utils import DateTime

Expand Down
2 changes: 1 addition & 1 deletion box_sdk_gen/schemas/folder_full.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

from box_sdk_gen.schemas.folder import Folder

from box_sdk_gen.schemas.metadata import Metadata
from box_sdk_gen.schemas.metadata_full import MetadataFull


class FolderFullSyncStateField(str, Enum):
Expand Down
8 changes: 4 additions & 4 deletions box_sdk_gen/schemas/metadata_query_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@

from box_sdk_gen.internal.base_object import BaseObject

from box_sdk_gen.schemas.file import File
from box_sdk_gen.schemas.file_full import FileFull

from box_sdk_gen.schemas.folder import Folder
from box_sdk_gen.schemas.folder_full import FolderFull


class MetadataQueryResults(BaseObject):
def __init__(
self,
*,
entries: Optional[List[Union[File, Folder]]] = None,
entries: Optional[List[Union[FileFull, FolderFull]]] = None,
limit: Optional[int] = None,
next_marker: Optional[str] = None,
**kwargs
Expand All @@ -27,7 +27,7 @@ def __init__(
By default, this endpoint returns only the most basic info about the
items. To get additional fields for each item, including any of the
metadata, use the `fields` attribute in the query., defaults to None
:type entries: Optional[List[Union[File, Folder]]], optional
:type entries: Optional[List[Union[FileFull, FolderFull]]], optional
:param limit: The limit that was used for this search. This will be the same as the
`limit` query parameter unless that value exceeded the maximum value
allowed., defaults to None
Expand Down

0 comments on commit e4eba74

Please sign in to comment.