6666ENVIRONMENTS : Dict [str , str ] = {
6767 "production" : "https://api.va.landing.ai" ,
6868 "eu" : "https://va.eu-west-1.landing.ai" ,
69+ "staging" : "https://api.va.staging.landing.ai" ,
6970}
7071
7172
@@ -76,13 +77,13 @@ class LandingAIADE(SyncAPIClient):
7677 # client options
7778 apikey : str
7879
79- _environment : Literal ["production" , "eu" ] | NotGiven
80+ _environment : Literal ["production" , "eu" , "staging" ] | NotGiven
8081
8182 def __init__ (
8283 self ,
8384 * ,
8485 apikey : str | None = None ,
85- environment : Literal ["production" , "eu" ] | NotGiven = not_given ,
86+ environment : Literal ["production" , "eu" , "staging" ] | NotGiven = not_given ,
8687 base_url : str | httpx .URL | None | NotGiven = not_given ,
8788 timeout : float | Timeout | None | NotGiven = not_given ,
8889 max_retries : int = DEFAULT_MAX_RETRIES ,
@@ -178,7 +179,7 @@ def copy(
178179 self ,
179180 * ,
180181 apikey : str | None = None ,
181- environment : Literal ["production" , "eu" ] | None = None ,
182+ environment : Literal ["production" , "eu" , "staging" ] | None = None ,
182183 base_url : str | httpx .URL | None = None ,
183184 timeout : float | Timeout | None | NotGiven = not_given ,
184185 http_client : httpx .Client | None = None ,
@@ -397,13 +398,13 @@ class AsyncLandingAIADE(AsyncAPIClient):
397398 # client options
398399 apikey : str
399400
400- _environment : Literal ["production" , "eu" ] | NotGiven
401+ _environment : Literal ["production" , "eu" , "staging" ] | NotGiven
401402
402403 def __init__ (
403404 self ,
404405 * ,
405406 apikey : str | None = None ,
406- environment : Literal ["production" , "eu" ] | NotGiven = not_given ,
407+ environment : Literal ["production" , "eu" , "staging" ] | NotGiven = not_given ,
407408 base_url : str | httpx .URL | None | NotGiven = not_given ,
408409 timeout : float | Timeout | None | NotGiven = not_given ,
409410 max_retries : int = DEFAULT_MAX_RETRIES ,
@@ -499,7 +500,7 @@ def copy(
499500 self ,
500501 * ,
501502 apikey : str | None = None ,
502- environment : Literal ["production" , "eu" ] | None = None ,
503+ environment : Literal ["production" , "eu" , "staging" ] | None = None ,
503504 base_url : str | httpx .URL | None = None ,
504505 timeout : float | Timeout | None | NotGiven = not_given ,
505506 http_client : httpx .AsyncClient | None = None ,
0 commit comments