File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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+
15## 0.1.14
26
37- Fix db innitialization crash for fhirschema
Original file line number Diff line number Diff line change 11__title__ = "aidbox-python-sdk"
2- __version__ = "0.1.14 "
2+ __version__ = "0.1.15 "
33__author__ = "beda.software"
44__license__ = "None"
55__copyright__ = "Copyright 2024 beda.software"
Original file line number Diff line number Diff line change @@ -151,6 +151,9 @@ def operation( # noqa: PLR0913
151151 access_policy = None ,
152152 request_schema = None ,
153153 timeout = None ,
154+ fhir_code = None ,
155+ fhir_url = None ,
156+ fhir_resource = None ,
154157 ):
155158 if public and access_policy is not None :
156159 raise ValueError ("Operation might be public or have access policy, not both" )
@@ -184,6 +187,9 @@ def wrapped_func(operation, request):
184187 "method" : method ,
185188 "path" : path ,
186189 ** ({"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 {}),
187193 }
188194 self ._operation_handlers [operation_id ] = wrapped_func
189195 if public is True :
You can’t perform that action at this time.
0 commit comments