File tree 3 files changed +11
-1
lines changed
3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change
1
+ ## 0.1.15
2
+
3
+ - Add fhir_code, fhir_url, fhir_resource as operation parameters
4
+
1
5
## 0.1.14
2
6
3
7
- Fix db innitialization crash for fhirschema
Original file line number Diff line number Diff line change 1
1
__title__ = "aidbox-python-sdk"
2
- __version__ = "0.1.14 "
2
+ __version__ = "0.1.15 "
3
3
__author__ = "beda.software"
4
4
__license__ = "None"
5
5
__copyright__ = "Copyright 2024 beda.software"
Original file line number Diff line number Diff line change @@ -151,6 +151,9 @@ def operation( # noqa: PLR0913
151
151
access_policy = None ,
152
152
request_schema = None ,
153
153
timeout = None ,
154
+ fhir_code = None ,
155
+ fhir_url = None ,
156
+ fhir_resource = None ,
154
157
):
155
158
if public and access_policy is not None :
156
159
raise ValueError ("Operation might be public or have access policy, not both" )
@@ -184,6 +187,9 @@ def wrapped_func(operation, request):
184
187
"method" : method ,
185
188
"path" : path ,
186
189
** ({"timeout" : timeout } if timeout else {}),
190
+ ** ({"fhirCode" : fhir_code } if fhir_code else {}),
191
+ ** ({"fhirUrl" : fhir_url } if fhir_url else {}),
192
+ ** ({"fhirResource" : fhir_resource } if fhir_resource else {}),
187
193
}
188
194
self ._operation_handlers [operation_id ] = wrapped_func
189
195
if public is True :
You can’t perform that action at this time.
0 commit comments