-
Notifications
You must be signed in to change notification settings - Fork 17
Introduce compile_as_first and compile_as_array helpers #64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #64 +/- ##
==========================================
+ Coverage 88.68% 88.78% +0.09%
==========================================
Files 27 27
Lines 3624 3656 +32
==========================================
+ Hits 3214 3246 +32
Misses 410 410
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Pipfile
Outdated
| [packages] | ||
| antlr4-python3-runtime = "~=4.10" | ||
| python-dateutil = "~=2.8" | ||
| fhirpy-types-r4b = "==0.1.1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move to dev deps if it's not direct dependency
fhirpathpy/__init__.py
Outdated
|
|
||
| def compile_as_array( | ||
| expression: str, input_type: Type, output_type: Type | ||
| ) -> Callable[[Any], Any]: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check output type
fhirpathpy/__init__.py
Outdated
|
|
||
| def compile_as_first( | ||
| expression: str, input_type: Type, output_type: Type | ||
| ) -> Callable[[Any], Any]: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check output type
…y` to use `TypeVar` for better type safety and adjust related helper functions Ref: #64
… helper functions to align with `InputType` and `OutputType`. Ref: #64
… update Pipfile.lock to reflect changes Ref: #64
…pes (e.g., `CustomModel`) Ref: #64
…d readability and consistency. #63
…zing type checks and exception handling Ref: #63
…ion via `prepare_fhirpath_fn` helper function. Ref: #63
No description provided.