@@ -39,7 +39,6 @@ def list(self, queries: List[str] = None, search: str = None) -> Dict[str, Any]:
3939 api_params ['search' ] = search
4040
4141 return self .client .call ('get' , api_path , {
42- 'content-type' : 'application/json' ,
4342 }, api_params )
4443
4544 def create (self , function_id : str , name : str , runtime : Runtime , execute : List [str ] = None , events : List [str ] = None , schedule : str = None , timeout : float = None , enabled : bool = None , logging : bool = None , entrypoint : str = None , commands : str = None , scopes : List [str ] = None , installation_id : str = None , provider_repository_id : str = None , provider_branch : str = None , provider_silent_mode : bool = None , provider_root_directory : str = None , template_repository : str = None , template_owner : str = None , template_root_directory : str = None , template_version : str = None , specification : str = None ) -> Dict [str , Any ]:
@@ -162,7 +161,6 @@ def list_runtimes(self) -> Dict[str, Any]:
162161 api_params = {}
163162
164163 return self .client .call ('get' , api_path , {
165- 'content-type' : 'application/json' ,
166164 }, api_params )
167165
168166 def list_specifications (self ) -> Dict [str , Any ]:
@@ -185,7 +183,6 @@ def list_specifications(self) -> Dict[str, Any]:
185183 api_params = {}
186184
187185 return self .client .call ('get' , api_path , {
188- 'content-type' : 'application/json' ,
189186 }, api_params )
190187
191188 def get (self , function_id : str ) -> Dict [str , Any ]:
@@ -217,7 +214,6 @@ def get(self, function_id: str) -> Dict[str, Any]:
217214
218215
219216 return self .client .call ('get' , api_path , {
220- 'content-type' : 'application/json' ,
221217 }, api_params )
222218
223219 def update (self , function_id : str , name : str , runtime : Runtime = None , execute : List [str ] = None , events : List [str ] = None , schedule : str = None , timeout : float = None , enabled : bool = None , logging : bool = None , entrypoint : str = None , commands : str = None , scopes : List [str ] = None , installation_id : str = None , provider_repository_id : str = None , provider_branch : str = None , provider_silent_mode : bool = None , provider_root_directory : str = None , specification : str = None ) -> Dict [str , Any ]:
@@ -373,7 +369,6 @@ def list_deployments(self, function_id: str, queries: List[str] = None, search:
373369 api_params ['search' ] = search
374370
375371 return self .client .call ('get' , api_path , {
376- 'content-type' : 'application/json' ,
377372 }, api_params )
378373
379374 def create_deployment (self , function_id : str , code : InputFile , activate : bool , entrypoint : str = None , commands : str = None , on_progress = None ) -> Dict [str , Any ]:
@@ -472,7 +467,6 @@ def get_deployment(self, function_id: str, deployment_id: str) -> Dict[str, Any]
472467
473468
474469 return self .client .call ('get' , api_path , {
475- 'content-type' : 'application/json' ,
476470 }, api_params )
477471
478472 def update_deployment (self , function_id : str , deployment_id : str ) -> Dict [str , Any ]:
@@ -665,7 +659,6 @@ def get_deployment_download(self, function_id: str, deployment_id: str) -> bytes
665659
666660
667661 return self .client .call ('get' , api_path , {
668- 'content-type' : 'application/json' ,
669662 }, api_params )
670663
671664 def list_executions (self , function_id : str , queries : List [str ] = None , search : str = None ) -> Dict [str , Any ]:
@@ -703,7 +696,6 @@ def list_executions(self, function_id: str, queries: List[str] = None, search: s
703696 api_params ['search' ] = search
704697
705698 return self .client .call ('get' , api_path , {
706- 'content-type' : 'application/json' ,
707699 }, api_params )
708700
709701 def create_execution (self , function_id : str , body : str = None , xasync : bool = None , path : str = None , method : ExecutionMethod = None , headers : dict = None , scheduled_at : str = None ) -> Dict [str , Any ]:
@@ -791,7 +783,6 @@ def get_execution(self, function_id: str, execution_id: str) -> Dict[str, Any]:
791783
792784
793785 return self .client .call ('get' , api_path , {
794- 'content-type' : 'application/json' ,
795786 }, api_params )
796787
797788 def delete_execution (self , function_id : str , execution_id : str ) -> Dict [str , Any ]:
@@ -862,7 +853,6 @@ def list_variables(self, function_id: str) -> Dict[str, Any]:
862853
863854
864855 return self .client .call ('get' , api_path , {
865- 'content-type' : 'application/json' ,
866856 }, api_params )
867857
868858 def create_variable (self , function_id : str , key : str , value : str ) -> Dict [str , Any ]:
@@ -944,7 +934,6 @@ def get_variable(self, function_id: str, variable_id: str) -> Dict[str, Any]:
944934
945935
946936 return self .client .call ('get' , api_path , {
947- 'content-type' : 'application/json' ,
948937 }, api_params )
949938
950939 def update_variable (self , function_id : str , variable_id : str , key : str , value : str = None ) -> Dict [str , Any ]:
0 commit comments