Skip to content

Commit

Permalink
feat(api): OpenAPI spec update (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] committed Jan 9, 2024
1 parent 1c82af6 commit 49ce9d7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/dataherald/types/table_description_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Column(BaseModel):

description: Optional[str] = None

forengin_key: Optional[object] = None
foreign_key: Optional[object] = None

is_primary_key: Optional[bool] = None

Expand Down
2 changes: 1 addition & 1 deletion src/dataherald/types/table_description_update_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class Column(TypedDict, total=False):

description: str

forengin_key: object
foreign_key: object

is_primary_key: bool

Expand Down
12 changes: 6 additions & 6 deletions tests/api_resources/test_table_descriptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def test_method_update_with_all_params(self, client: Dataherald) -> None:
"data_type": "string",
"low_cardinality": True,
"categories": ["string", "string", "string"],
"forengin_key": {},
"foreign_key": {},
},
{
"name": "string",
Expand All @@ -67,7 +67,7 @@ def test_method_update_with_all_params(self, client: Dataherald) -> None:
"data_type": "string",
"low_cardinality": True,
"categories": ["string", "string", "string"],
"forengin_key": {},
"foreign_key": {},
},
{
"name": "string",
Expand All @@ -76,7 +76,7 @@ def test_method_update_with_all_params(self, client: Dataherald) -> None:
"data_type": "string",
"low_cardinality": True,
"categories": ["string", "string", "string"],
"forengin_key": {},
"foreign_key": {},
},
],
description="string",
Expand Down Expand Up @@ -183,7 +183,7 @@ async def test_method_update_with_all_params(self, client: AsyncDataherald) -> N
"data_type": "string",
"low_cardinality": True,
"categories": ["string", "string", "string"],
"forengin_key": {},
"foreign_key": {},
},
{
"name": "string",
Expand All @@ -192,7 +192,7 @@ async def test_method_update_with_all_params(self, client: AsyncDataherald) -> N
"data_type": "string",
"low_cardinality": True,
"categories": ["string", "string", "string"],
"forengin_key": {},
"foreign_key": {},
},
{
"name": "string",
Expand All @@ -201,7 +201,7 @@ async def test_method_update_with_all_params(self, client: AsyncDataherald) -> N
"data_type": "string",
"low_cardinality": True,
"categories": ["string", "string", "string"],
"forengin_key": {},
"foreign_key": {},
},
],
description="string",
Expand Down

0 comments on commit 49ce9d7

Please sign in to comment.