feat: add HTTP request logging and enhance lab report parsing#144
Open
fern-api[bot] wants to merge 1 commit intomasterfrom
Open
feat: add HTTP request logging and enhance lab report parsing#144fern-api[bot] wants to merge 1 commit intomasterfrom
fern-api[bot] wants to merge 1 commit intomasterfrom
Conversation
Add comprehensive HTTP request/response logging functionality with configurable log levels and sensitive header redaction. Expand the lab report parser to accept multiple files instead of a single file for batch processing. Additionally, enhance HTTP response wrapper with status code access and improve SSE parsing for discriminated unions. Key changes: - Add HTTP request/response logging with sensitive header redaction - Change lab report parser to accept multiple files (List[core.File] instead of core.File) - Add status_code property to HTTP response wrapper - Enhance SSE parsing for discriminated unions - Remove INSULIN_INJECTION from IntervalTimeseriesExprTimeseries enum - Convert AppointmentPscLabs from literal to proper enum with SONORA_QUEST option 🌿 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: Breaking change to parser_create_job method signature - parameter 'file' changed from core.File to typing.List[core.File], requiring callers to wrap single files in a list.
parser_create_jobmethod parameterfilehas changed fromcore.Filetotyping.List[core.File]. Additionally, the SDK now includes HTTP request logging capabilities and enhanced response objects with status code access.lab_account_idandlab_slugfor better lab targeting,order_transaction_idfiltering for orders,appointment_notesfor PSC appointments, andclinical_notesfor order creation. Enhanced insulin injection samples now include delivery mode, form, and bolus purpose fields. PSC appointment availability endpoint now requires a lab parameter and supports stale data caching. Added idempotency support for PSC appointment booking.