Skip to content

Commit

Permalink
Removed is_owner (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
kozlov721 authored Dec 12, 2024
1 parent 178ce53 commit acb3c19
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
8 changes: 0 additions & 8 deletions modelconverter/cli/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,14 +289,6 @@ class Status(str, Enum):
str, typer.Argument(help="Name of the model", show_default=False)
]

IsOwnerOption = Annotated[
bool,
typer.Option(
help="Whether the user is the owner of the resource",
show_default=False,
),
]

ArchitectureIDOption = Annotated[
Optional[str],
typer.Option(help="The architecture ID", show_default=False),
Expand Down
7 changes: 0 additions & 7 deletions modelconverter/hub/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
HubVersionOption,
HubVersionOptionRequired,
IdentifierArgument,
IsOwnerOption,
IsPublicOption,
JSONOption,
LicenseTypeOption,
Expand Down Expand Up @@ -141,7 +140,6 @@ def model_ls(
tasks: TasksOption = None,
license_type: LicenseTypeOption = None,
is_public: IsPublicOption = None,
is_owner: IsOwnerOption = True,
slug: SlugOption = None,
project_id: ProjectIDOption = None,
luxonis_only: LuxonisOnlyOption = False,
Expand All @@ -155,7 +153,6 @@ def model_ls(
tasks=[task for task in tasks] if tasks else [],
license_type=license_type,
is_public=is_public,
is_owner=is_owner,
slug=slug,
project_id=project_id,
luxonis_only=luxonis_only,
Expand Down Expand Up @@ -247,7 +244,6 @@ def variant_ls(
variant_slug: VariantSlugOption = None,
version: HubVersionOption = None,
is_public: IsPublicOption = None,
is_owner: IsOwnerOption = True,
limit: LimitOption = 50,
sort: SortOption = "updated",
order: OrderOption = Order.DESC,
Expand All @@ -257,7 +253,6 @@ def variant_ls(
"modelVersions",
model_id=model_id,
is_public=is_public,
is_owner=is_owner,
slug=slug,
variant_slug=variant_slug,
version=version,
Expand Down Expand Up @@ -349,7 +344,6 @@ def instance_ls(
hash: HashOption = None,
status: StatusOption = None,
is_public: IsPublicOption = None,
is_owner: IsOwnerOption = True,
compression_level: CompressionLevelOption = None,
optimization_level: OptimizationLevelOption = None,
slug: SlugOption = None,
Expand All @@ -374,7 +368,6 @@ def instance_ls(
compression_level=compression_level,
optimization_level=optimization_level,
is_public=is_public,
is_owner=is_owner,
slug=slug,
limit=limit,
sort=sort,
Expand Down

0 comments on commit acb3c19

Please sign in to comment.