diff --git a/karp/webapp/routes/resources_api.py b/karp/webapp/routes/resources_api.py index c7698145..8e981b37 100644 --- a/karp/webapp/routes/resources_api.py +++ b/karp/webapp/routes/resources_api.py @@ -35,7 +35,7 @@ def list_resource_permissions( @router.get( "/", - response_model=list[ResourceProtected], + # response_model=list[ResourceProtected], ) def get_all_resources( get_resources: lex.GetResources = Depends(deps.inject_from_req(lex.GetResources)), diff --git a/karp/webapp/schemas.py b/karp/webapp/schemas.py index 3716d340..ad5eea4a 100644 --- a/karp/webapp/schemas.py +++ b/karp/webapp/schemas.py @@ -72,9 +72,9 @@ class ResourceBase(BaseModel): name: str config: typing.Dict message: Optional[str] = None - entry_repository_id: Optional[unique_id.UniqueId] - is_published: Optional[bool] - version: Optional[int] + entry_repo_id: Optional[unique_id.UniqueId] + # is_published: Optional[bool] + # version: Optional[int] class ResourceCreate(ResourceBase):