Skip to content

Commit b6d6a79

Browse files
author
ks-release-bot
committed
chore(release): regenerate ksapi v1.115.2 from ks-backend
1 parent 0c725df commit b6d6a79

9 files changed

Lines changed: 14 additions & 8 deletions

‎docs/CatalogTableResponse.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**name** | **str** | |
99
**schema_name** | **str** | |
10+
**is_view** | **bool** | | [optional] [default to False]
1011
**columns** | [**List[CatalogColumnResponse]**](CatalogColumnResponse.md) | |
1112

1213
## Example

‎ksapi/__init__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
""" # noqa: E501
1515

1616

17-
__version__ = "1.115.1"
17+
__version__ = "1.115.2"
1818

1919
# Define package exports
2020
__all__ = [

‎ksapi/api_client.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def __init__(
9191
self.default_headers[header_name] = header_value
9292
self.cookie = cookie
9393
# Set default User-Agent.
94-
self.user_agent = 'OpenAPI-Generator/1.115.1/python'
94+
self.user_agent = 'OpenAPI-Generator/1.115.2/python'
9595
self.client_side_validation = configuration.client_side_validation
9696

9797
def __enter__(self):

‎ksapi/configuration.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ def to_debug_report(self) -> str:
562562
"OS: {env}\n"\
563563
"Python Version: {pyversion}\n"\
564564
"Version of the API: 0.1.0\n"\
565-
"SDK Package Version: 1.115.1".\
565+
"SDK Package Version: 1.115.2".\
566566
format(env=sys.platform, pyversion=sys.version)
567567

568568
def get_host_settings(self) -> List[HostSetting]:

‎ksapi/models/catalog_table_response.py‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
import re # noqa: F401
1818
import json
1919

20-
from pydantic import BaseModel, ConfigDict, StrictStr
21-
from typing import Any, ClassVar, Dict, List
20+
from pydantic import BaseModel, ConfigDict, StrictBool, StrictStr
21+
from typing import Any, ClassVar, Dict, List, Optional
2222
from ksapi.models.catalog_column_response import CatalogColumnResponse
2323
from typing import Optional, Set
2424
from typing_extensions import Self
@@ -30,8 +30,9 @@ class CatalogTableResponse(BaseModel):
3030
""" # noqa: E501
3131
name: StrictStr
3232
schema_name: StrictStr
33+
is_view: Optional[StrictBool] = False
3334
columns: List[CatalogColumnResponse]
34-
__properties: ClassVar[List[str]] = ["name", "schema_name", "columns"]
35+
__properties: ClassVar[List[str]] = ["name", "schema_name", "is_view", "columns"]
3536

3637
model_config = ConfigDict(
3738
validate_by_name=True,
@@ -93,6 +94,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
9394
_obj = cls.model_validate({
9495
"name": obj.get("name"),
9596
"schema_name": obj.get("schema_name"),
97+
"is_view": obj.get("is_view") if obj.get("is_view") is not None else False,
9698
"columns": [CatalogColumnResponse.from_dict(_item) for _item in obj["columns"]] if obj.get("columns") is not None else None
9799
})
98100
return _obj

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "ksapi"
3-
version = "1.115.1"
3+
version = "1.115.2"
44
description = "Knowledge Stack API"
55
authors = [
66
{name = "OpenAPI Generator Community",email = "team@openapitools.org"},

‎setup.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
# prerequisite: setuptools
2020
# http://pypi.python.org/pypi/setuptools
2121
NAME = "ksapi"
22-
VERSION = "1.115.1"
22+
VERSION = "1.115.2"
2323
PYTHON_REQUIRES = ">= 3.9"
2424
REQUIRES = [
2525
"urllib3 >= 2.1.0, < 3.0.0",

‎test/test_catalog_table_response.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ def make_instance(self, include_optional) -> CatalogTableResponse:
3737
return CatalogTableResponse(
3838
name = '',
3939
schema_name = '',
40+
is_view = True,
4041
columns = [
4142
ksapi.models.catalog_column_response.CatalogColumnResponse(
4243
name = '',

‎test/test_data_source_catalog_response.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ def make_instance(self, include_optional) -> DataSourceCatalogResponse:
3939
ksapi.models.catalog_table_response.CatalogTableResponse(
4040
name = '',
4141
schema_name = '',
42+
is_view = True,
4243
columns = [
4344
ksapi.models.catalog_column_response.CatalogColumnResponse(
4445
name = '',
@@ -54,6 +55,7 @@ def make_instance(self, include_optional) -> DataSourceCatalogResponse:
5455
ksapi.models.catalog_table_response.CatalogTableResponse(
5556
name = '',
5657
schema_name = '',
58+
is_view = True,
5759
columns = [
5860
ksapi.models.catalog_column_response.CatalogColumnResponse(
5961
name = '',

0 commit comments

Comments
 (0)