holado 0.7.0__py3-none-any.whl → 0.7.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of holado might be problematic. Click here for more details.
- {holado-0.7.0.dist-info → holado-0.7.1.dist-info}/METADATA +1 -1
- {holado-0.7.0.dist-info → holado-0.7.1.dist-info}/RECORD +5 -5
- holado_rest/api/rest/rest_client.py +7 -11
- {holado-0.7.0.dist-info → holado-0.7.1.dist-info}/WHEEL +0 -0
- {holado-0.7.0.dist-info → holado-0.7.1.dist-info}/licenses/LICENSE +0 -0
|
@@ -408,7 +408,7 @@ holado_report/report/reports/feature_report.py,sha256=i0wpk3LQLArVjWDsP9UcNSJzAU
|
|
|
408
408
|
holado_report/report/reports/scenario_report.py,sha256=eMyqw9EzaKMmX3pGFJN1rqAOQ5eqO2ISZdxAfK3XQR4,2945
|
|
409
409
|
holado_rest/__init__.py,sha256=BOeE6t6ejeqRYd44SE4vYJVTNz01BwcVCIWfwRQ5axg,1526
|
|
410
410
|
holado_rest/api/rest/TODO.txt,sha256=Oz8BYPkBEs9OAEgyYLLm7i5tJ1bRE5POBpT3SRFWTi4,29
|
|
411
|
-
holado_rest/api/rest/rest_client.py,sha256=
|
|
411
|
+
holado_rest/api/rest/rest_client.py,sha256=SHJCXOUs1lUuMrBmQrTyLa6gsOwklmaCPF1WfYrzKqk,8022
|
|
412
412
|
holado_rest/api/rest/rest_manager.py,sha256=XldPjNgj73GlzAmlsEcQYaHiDRk7SGU6VEFOLBnHjQM,4010
|
|
413
413
|
holado_rest/tests/behave/steps/__init__.py,sha256=lEH5NYkKtpgDV2ZAO1qAGNN4ipwILWMpgvQgnamgYKk,1283
|
|
414
414
|
holado_rest/tests/behave/steps/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -650,7 +650,7 @@ test_holado/tools/django/api_rest/api_rest/api1/serializers.py,sha256=o_YxFr-tgC
|
|
|
650
650
|
test_holado/tools/django/api_rest/api_rest/api1/tests.py,sha256=mrbGGRNg5jwbTJtWWa7zSKdDyeB4vmgZCRc2nk6VY-g,60
|
|
651
651
|
test_holado/tools/django/api_rest/api_rest/api1/views.py,sha256=kOt2xT6bxO47_z__5yYR9kcYIWWv4qYzpX0K8Tqonik,758
|
|
652
652
|
test_holado/tools/django/api_rest/api_rest/api1/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
653
|
-
holado-0.7.
|
|
654
|
-
holado-0.7.
|
|
655
|
-
holado-0.7.
|
|
656
|
-
holado-0.7.
|
|
653
|
+
holado-0.7.1.dist-info/METADATA,sha256=fWwf-M3Znl7L5laYb4hGYm4mQ7V2BhRkCQI6TKqdLmI,7885
|
|
654
|
+
holado-0.7.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
655
|
+
holado-0.7.1.dist-info/licenses/LICENSE,sha256=IgGmNlcFHnbp7UWrLJqAFvs_HIgjJDTmjCNRircJLsk,1070
|
|
656
|
+
holado-0.7.1.dist-info/RECORD,,
|
|
@@ -102,7 +102,8 @@ class RestClient(Object):
|
|
|
102
102
|
|
|
103
103
|
return res
|
|
104
104
|
|
|
105
|
-
def request(self, method, path, **kwargs):
|
|
105
|
+
def request(self, method, path, path_parameters=None, **kwargs):
|
|
106
|
+
path = self.add_parameters_to_path(path, path_parameters)
|
|
106
107
|
url = self.__build_url(path=path)
|
|
107
108
|
r_kwargs = self.__build_kwargs(**kwargs)
|
|
108
109
|
|
|
@@ -120,24 +121,19 @@ class RestClient(Object):
|
|
|
120
121
|
return res
|
|
121
122
|
|
|
122
123
|
def delete(self, path, data=None, path_parameters=None, **kwargs):
|
|
123
|
-
|
|
124
|
-
return self.request("DELETE", path, data=data, **kwargs)
|
|
124
|
+
return self.request("DELETE", path, path_parameters=path_parameters, data=data, **kwargs)
|
|
125
125
|
|
|
126
126
|
def get(self, path, data=None, path_parameters=None, **kwargs):
|
|
127
|
-
|
|
128
|
-
return self.request("GET", path, data=data, **kwargs)
|
|
127
|
+
return self.request("GET", path, path_parameters=path_parameters, data=data, **kwargs)
|
|
129
128
|
|
|
130
129
|
def patch(self, path, data=None, path_parameters=None, **kwargs):
|
|
131
|
-
|
|
132
|
-
return self.request("PATCH", path, data=data, **kwargs)
|
|
130
|
+
return self.request("PATCH", path, path_parameters=path_parameters, data=data, **kwargs)
|
|
133
131
|
|
|
134
132
|
def post(self, path, data=None, json=None, path_parameters=None, **kwargs):
|
|
135
|
-
|
|
136
|
-
return self.request("POST", path, data=data, json=json, **kwargs)
|
|
133
|
+
return self.request("POST", path, path_parameters=path_parameters, data=data, json=json, **kwargs)
|
|
137
134
|
|
|
138
135
|
def put(self, path, data=None, path_parameters=None, **kwargs):
|
|
139
|
-
|
|
140
|
-
return self.request("PUT", path, data=data, **kwargs)
|
|
136
|
+
return self.request("PUT", path, path_parameters=path_parameters, data=data, **kwargs)
|
|
141
137
|
|
|
142
138
|
def __build_url(self, path):
|
|
143
139
|
return f"{self.__url}/{path.lstrip('/')}"
|
|
File without changes
|
|
File without changes
|