Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate if page_query / summary config object is ellipses. #8

Merged
merged 1 commit into from
Nov 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "airtop"
version = "0.0.23"
version = "0.0.24"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to manually increase the version number as this file is currently ignored by fern.

description = "SDK for Airtop cloud browsers"
readme = "README.md"
authors = []
Expand Down
4 changes: 2 additions & 2 deletions src/airtop/wrapper/windows_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def __init__(self, *args, **kwargs):


def convert_page_query_output_schema_to_str(config_object: typing.Optional[PageQueryConfigBase]) -> typing.Any:
if not config_object:
if not config_object or config_object is ...:
return config_object
if isinstance(config_object, dict):
output_schema = config_object.get("output_schema")
Expand All @@ -51,7 +51,7 @@ def convert_page_query_output_schema_to_str(config_object: typing.Optional[PageQ
return config_object.model_copy(update={"output_schema": json.dumps(output_schema)})

def convert_summary_output_schema_to_str(config_object: typing.Optional[SummaryConfigBase]) -> typing.Any:
if not config_object:
if not config_object or config_object is ...:
return config_object
if isinstance(config_object, dict):
output_schema = config_object.get("output_schema")
Expand Down
Loading