Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Commit

Permalink
Ability to accept gzip compressed files #107 (#160)
Browse files Browse the repository at this point in the history
Added supporting gz_uncompressed_content_type parameter. Updated tests.
  • Loading branch information
kravetsmic authored Apr 19, 2023
1 parent cd111a2 commit 9eded4e
Show file tree
Hide file tree
Showing 20 changed files with 975 additions and 319 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 0.10.0

* Update templates for generated API.
* Improve code for accepting gzip files.

# 0.9.4

* Add dynamic openapi_url to match docs_url
Expand Down
2 changes: 1 addition & 1 deletion scripts/version-sync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ done
# Version appearing earliest in CHANGELOGFILE will be used as ground truth.
CHANGELOGFILE="CHANGELOG.md"
VERSIONFILE="${SOURCE_DIR}/__version__.py"
RE_SEMVER_FULL="(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(-((0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(\.(0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(\+([0-9a-zA-Z-]+(\.[0-9a-zA-Z-]+)*))?"
RE_SEMVER_FULL="(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)(-((0|[1-9][0-9]*|[0-9]*[a-zA-Z-][0-9a-zA-Z-]*)(\.(0|[1-9][0-9]*|[0-9]*[a-zA-Z-][0-9a-zA-Z-]*))*))?(\+([0-9a-zA-Z-]+(\.[0-9a-zA-Z-]+)*))?"
# Pull out semver appearing earliest in CHANGELOGFILE.
LAST_VERSION=$(grep -o -m 1 -E "${RE_SEMVER_FULL}" "$CHANGELOGFILE")

Expand Down
333 changes: 260 additions & 73 deletions test_unstructured_api_tools/api/test_file_apis.py

Large diffs are not rendered by default.

Loading

0 comments on commit 9eded4e

Please sign in to comment.