Skip to content

Commit

Permalink
Validate if config object is ellipses.
Browse files Browse the repository at this point in the history
Increment version number.
  • Loading branch information
kvindascr committed Nov 7, 2024
1 parent 9fa24bd commit 4fe28f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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"
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

0 comments on commit 4fe28f9

Please sign in to comment.