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