Skip to content
This repository has been archived by the owner on Jul 20, 2024. It is now read-only.

Commit

Permalink
fix: remove __metadata__ and use alias for json schema
Browse files Browse the repository at this point in the history
  • Loading branch information
1hachem committed Feb 10, 2024
1 parent 89f362d commit bc186e2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions hyko_sdk/function.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@


class SDKFunction(FastAPI):
__metadata__: MetaDataBase

def __init__(
self,
description: str,
Expand Down Expand Up @@ -117,4 +115,5 @@ def dump_metadata(self, indent: Optional[int] = None) -> str:
indent=indent,
exclude_none=True,
exclude_defaults=True,
by_alias=True,
)

0 comments on commit bc186e2

Please sign in to comment.