wmill 1.423.2__tar.gz → 1.424.0__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wmill
3
- Version: 1.423.2
3
+ Version: 1.424.0
4
4
  Summary: A client library for accessing Windmill server wrapping the Windmill client API
5
5
  Home-page: https://windmill.dev
6
6
  License: Apache-2.0
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "wmill"
3
- version = "1.423.2"
3
+ version = "1.424.0"
4
4
  description = "A client library for accessing Windmill server wrapping the Windmill client API"
5
5
  license = "Apache-2.0"
6
6
  homepage = "https://windmill.dev"
@@ -26,7 +26,7 @@ JobStatus = Literal["RUNNING", "WAITING", "COMPLETED"]
26
26
 
27
27
  class Windmill:
28
28
  def __init__(self, base_url=None, token=None, workspace=None, verify=True):
29
- base = base_url or os.environ.get("BASE_INTERNAL_URL")
29
+ base = base_url or os.environ.get("BASE_INTERNAL_URL") or os.environ.get("WM_BASE_URL")
30
30
 
31
31
  self.base_url = f"{base}/api"
32
32
  self.token = token or os.environ.get("WM_TOKEN")
File without changes
File without changes
File without changes
File without changes
File without changes