Skip to content

Commit

Permalink
add preprod env
Browse files Browse the repository at this point in the history
  • Loading branch information
wei committed Dec 20, 2024
1 parent c4d43c8 commit ef9a247
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions tidy3d/web/core/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,13 @@ def get_real_url(self, path: str) -> str:
website_endpoint="https://tidy3d.uat-simulation.cloud",
)

pre = EnvironmentConfig(
name="pre",
s3_region="us-gov-west-1",
web_api_endpoint="https://preprod-tidy3d-api.simulation.cloud",
website_endpoint="https://preprod-tidy3d.simulation.cloud",
)

prod = EnvironmentConfig(
name="prod",
s3_region="us-gov-west-1",
Expand Down Expand Up @@ -131,6 +138,17 @@ def uat(self) -> EnvironmentConfig:
"""
return uat

@property
def pre(self) -> EnvironmentConfig:
"""Get the preprod environment.
Returns
-------
EnvironmentConfig
The config for the preprod environment.
"""
return pre

@property
def prod(self) -> EnvironmentConfig:
"""Get the prod environment.
Expand Down

0 comments on commit ef9a247

Please sign in to comment.