@@ -51,7 +51,9 @@ def _create_resource(self, class_name: str, beta: bool = False, **params) -> Any
51
51
52
52
return convert_to_easypost_object (response = response )
53
53
54
- def _all_resources (self , class_name : str , filters : Optional [Dict [str , Any ]] = None , beta : bool = False , ** params ) -> Any :
54
+ def _all_resources (
55
+ self , class_name : str , filters : Optional [Dict [str , Any ]] = None , beta : bool = False , ** params
56
+ ) -> Any :
55
57
"""Retrieve a list of EasyPostObjects from the EasyPost API."""
56
58
url = self ._class_url (class_name )
57
59
response = Requestor (self ._client ).request (method = RequestMethod .GET , url = url , params = params , beta = beta )
@@ -69,7 +71,9 @@ def _retrieve_resource(self, class_name: str, id: str, beta: bool = False) -> An
69
71
70
72
return convert_to_easypost_object (response = response )
71
73
72
- def _update_resource (self , class_name : str , id : str , method : RequestMethod = RequestMethod .PATCH , beta : bool = False , ** params ) -> Any :
74
+ def _update_resource (
75
+ self , class_name : str , id : str , method : RequestMethod = RequestMethod .PATCH , beta : bool = False , ** params
76
+ ) -> Any :
73
77
"""Update an EasyPost object via the EasyPost API."""
74
78
url = self ._instance_url (class_name , id )
75
79
wrapped_params = {self ._snakecase_name (class_name ): params }
0 commit comments