File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed
packages/pangea-sdk/pangea Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
88## Unreleased
99
10+ ### Changed
11+
12+ - Clarified what ` PangeaConfig.environment ` affects.
13+
1014## 5.4.0 - 2025-01-22
1115
1216### Removed
Original file line number Diff line number Diff line change 22# Author: Pangea Cyber Corporation
33
44from dataclasses import dataclass
5- from typing import Optional
5+ from typing import Literal , Optional
66
77
88@dataclass
@@ -16,10 +16,12 @@ class PangeaConfig:
1616 scheme (http:// or https://), subdomain, domain and port.
1717 """
1818
19- environment : str = "production"
19+ environment : Literal [ "production" , "local" ] = "production"
2020 """
21- Used to generate service url.
22- It should be only 'production' or 'local' in cases of particular services that can run locally as Redact.
21+ Pangea environment, used to construct service URLs.
22+
23+ If set to "local", then `domain` must be the full host (i.e., hostname and
24+ port) for the Pangea service that this `PangeaConfig` will be used for.
2325 """
2426
2527 config_id : Optional [str ] = None
You can’t perform that action at this time.
0 commit comments