@@ -751,3 +751,23 @@ async def current_app_integration(self, app_id: str) -> str | None:
751751 app_id
752752 )
753753 return response .response ["webhook" ]
754+
755+ async def get_app_envs (self , app_id : str ) -> dict [str , str ]:
756+ response : Response = await self ._http .get_environment_variables (app_id )
757+ return response .response
758+
759+ async def set_app_envs (self , app_id : str , envs : dict [str , str ]) -> dict [str , str ]:
760+ response : Response = await self ._http .set_environment_variable (app_id , envs )
761+ return response .response
762+
763+ async def delete_app_envs (self , app_id : str , keys : list [str ]) -> dict [str , str ]:
764+ response : Response = await self ._http .delete_environment_variable (app_id , keys )
765+ return response .response
766+
767+ async def overwrite_app_envs (self , app_id : str , envs : dict [str , str ]) -> dict [str , str ]:
768+ response : Response = await self ._http .overwrite_environment_variables (app_id , envs )
769+ return response .response
770+
771+ async def clear_app_envs (self , app_id : str ) -> dict [str , str ]:
772+ response : Response = await self ._http .overwrite_environment_variables (app_id , {})
773+ return response .response
0 commit comments