Skip to content

Commit d02bae3

Browse files
committed
make contexts truly optional
1 parent d20794b commit d02bae3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

polyapi/generate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ def remove_old_library():
201201
shutil.rmtree(path)
202202

203203

204-
def generate(contexts: Optional[List[str]], no_types: bool = False) -> None:
204+
def generate(contexts: Optional[List[str]] = None, no_types: bool = False) -> None:
205205
generate_msg = f"Generating Poly Python SDK for contexts ${contexts}..." if contexts else "Generating Poly Python SDK..."
206206
print(generate_msg, end="", flush=True)
207207
remove_old_library()

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = ["setuptools>=61.2", "wheel"]
33

44
[project]
55
name = "polyapi-python"
6-
version = "0.3.5.dev0"
6+
version = "0.3.5.dev1"
77
description = "The Python Client for PolyAPI, the IPaaS by Developers for Developers"
88
authors = [{ name = "Dan Fellin", email = "dan@polyapi.io" }]
99
dependencies = [

0 commit comments

Comments
 (0)