feat: add HTTP logging and update lab report file handling#134
Open
fern-api[bot] wants to merge 1 commit intomasterfrom
Open
feat: add HTTP logging and update lab report file handling#134fern-api[bot] wants to merge 1 commit intomasterfrom
fern-api[bot] wants to merge 1 commit intomasterfrom
Conversation
Add HTTP request/response logging with configurable logger support and sensitive header redaction. Update lab report parser endpoint to accept multiple files instead of a single file. Enhance HTTP response objects with status code access and improve AppointmentPscLabs enum. Key changes: - Add logging_config parameter to client constructors for HTTP request/response logging - Change lab report parser_create_job file parameter from single File to List[File] - Add status_code property to BaseHttpResponse for easier response inspection - Expand AppointmentPscLabs enum to include SONORA_QUEST option - Add comprehensive SSE parsing utilities for discriminated unions 🌿 Generated with Fern
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Version Bump: The lab report parser_create_job method changed from accepting a single File to requiring List[File], breaking existing callers.
parser_create_job(file=[my_file], ...)instead ofparser_create_job(file=my_file, ...).lab_account_idandlab_slug, transaction-based order filtering withorder_transaction_id, appointment notes for phlebotomy appointments, idempotency support for PSC appointment booking, and clinical notes for order creation. The PSC appointment availability method now requires alabparameter and supports stale data caching withallow_stale.create_usermethod now expects aUserAddressparameter instead ofAddress. This change affects both sync and async clients. Update your imports and method calls to useUserAddressfor user creation operations.RelatedCandidate,SearchMode, andSearchCompendiumResponse. Added comprehensive US state enumeration withUsStateand a newUserAddresstype for standardized address handling. Enhanced address types now include optional access notes for delivery instructions.