Skip to content

feat: Add FullParseResponse model and handle_url_response function #35

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

Merged
merged 1 commit into from
Mar 21, 2025

Conversation

raunakdoesdev
Copy link
Contributor

The changes introduce a new FullParseResponse model and a handle_url_response function in the helpers.py module. The FullParseResponse model represents the full response from the document processing service, including the duration, job ID, result, usage, and optional PDF URL. The handle_url_response function is responsible for handling the response when the result type is "url", by streaming the content and validating the result.

Additionally, the pyproject.toml file is updated to bump the version from 0.2.0 to 0.2.1.

The changes introduce a new `FullParseResponse` model and a `handle_url_response` function in the `helpers.py` module. The `FullParseResponse` model represents the full response from the document processing service, including the duration, job ID, result, usage, and optional PDF URL. The `handle_url_response` function is responsible for handling the response when the result type is "url", by streaming the content and validating the result.

Additionally, the `pyproject.toml` file is updated to bump the version from `0.2.0` to `0.2.1`.
@raunakdoesdev raunakdoesdev merged commit da3fa06 into main Mar 21, 2025
3 checks passed
stainless-app bot pushed a commit that referenced this pull request Mar 21, 2025
…ion (#35)

The changes introduce a new `FullParseResponse` model and a `handle_url_response` function in the `helpers.py` module. The `FullParseResponse` model represents the full response from the document processing service, including the duration, job ID, result, usage, and optional PDF URL. The `handle_url_response` function is responsible for handling the response when the result type is "url", by streaming the content and validating the result.

Additionally, the `pyproject.toml` file is updated to bump the version from `0.2.0` to `0.2.1`.
@stainless-app stainless-app bot mentioned this pull request Mar 21, 2025
raunakdoesdev added a commit that referenced this pull request Mar 21, 2025
* fix(ci): remove publishing patch (#28)

* chore: remove custom code

* chore: remove custom code

* feat(api): api update (#31)

* codegen metadata

* feat(api): api update (#32)

* codegen metadata

* codegen metadata

* feat(api): api update (#34)

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* feat: feat: Add FullParseResponse model and handle_url_response function (#35)

The changes introduce a new `FullParseResponse` model and a `handle_url_response` function in the `helpers.py` module. The `FullParseResponse` model represents the full response from the document processing service, including the duration, job ID, result, usage, and optional PDF URL. The `handle_url_response` function is responsible for handling the response when the result type is "url", by streaming the content and validating the result.

Additionally, the `pyproject.toml` file is updated to bump the version from `0.2.0` to `0.2.1`.

* release: 0.3.0

---------

Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
Co-authored-by: Raunak Chowdhuri <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant