this reverts 79b176cbbd introducing
alternative way of avoiding bug described in
https://github.com/windmill-labs/windmill/issues/736#issuecomment-1279679730
the improvement here is that we're able to support more python versions
now
This commit is contained in:
committed by
GitHub
parent
79b176cbbd
commit
52f6db2e81
@@ -15,7 +15,7 @@ packages = [
|
||||
include = ["wmill/py.typed"]
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = "^3.10"
|
||||
python = "^3.7"
|
||||
windmill-api = "^1.38.1"
|
||||
|
||||
[build-system]
|
||||
|
||||
@@ -27,9 +27,9 @@ class JobStatus(Enum):
|
||||
RUNNING = 2
|
||||
COMPLETED = 3
|
||||
|
||||
_client: AuthenticatedClient | None = None
|
||||
_client: "AuthenticatedClient | None" = None
|
||||
|
||||
def create_client(base_url: str | None = None, token: str | None = None) -> AuthenticatedClient:
|
||||
def create_client(base_url: "str | None" = None, token: "str | None" = None) -> AuthenticatedClient:
|
||||
env_base_url = os.environ.get("BASE_INTERNAL_URL")
|
||||
|
||||
if env_base_url is not None:
|
||||
|
||||
Reference in New Issue
Block a user