Skip to content
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

[WIP] Add remaining endpoint APIs in SDK #4819

Closed
wants to merge 171 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
171 commits
Select commit Hold shift + click to select a range
e34731d
Fix generated OpenAPI schema
zhiltsov-max Jun 20, 2022
4f1940b
Update changelog
zhiltsov-max Jun 20, 2022
cf759f5
Merge branch 'develop' into zm/fix-openapi-schema
zhiltsov-max Jun 20, 2022
aad0ccc
Make data-related fields in the Task optional
zhiltsov-max Jun 21, 2022
50959a4
Allow null organization in Task, Project, Clouds
zhiltsov-max Jun 21, 2022
f43d47a
Add a task to generate schema
zhiltsov-max Jun 21, 2022
a16d103
Fix attribute values declaration - it is a list of strings
zhiltsov-max Jun 21, 2022
38b7d82
Merge branch 'develop' into zm/fix-openapi-schema
zhiltsov-max Jun 22, 2022
7248a7f
add generator config
zhiltsov-max Jun 24, 2022
4bda27e
Update generator config and templates
zhiltsov-max Jun 27, 2022
e953a23
Add generated code
zhiltsov-max Jun 27, 2022
6d9f43e
Add tasks tests
zhiltsov-max Jun 27, 2022
e73828e
Add sample
zhiltsov-max Jun 27, 2022
35b764a
Fixes to some methods
zhiltsov-max Jun 27, 2022
4acffb5
Add org parameters in schema globally
zhiltsov-max Jun 28, 2022
8c5f2fc
Fix tasks patch tests
zhiltsov-max Jun 28, 2022
aa8d8f0
Enable file uploading in task data
zhiltsov-max Jul 1, 2022
d69af23
Merge branch 'develop' into zm/add-cvat-sdk
zhiltsov-max Jul 1, 2022
5210bce
Merge with develop, fix issues
zhiltsov-max Jul 1, 2022
aa0a8ff
Fix schema generation error
zhiltsov-max Jul 1, 2022
1e5f915
Add introspection to models and apis, embed apis into client, add cod…
zhiltsov-max Jul 4, 2022
78eb73e
Add debug task for api code processing
zhiltsov-max Jul 4, 2022
b580feb
Improve type annotations in api
zhiltsov-max Jul 4, 2022
a491203
Add design document
zhiltsov-max Jul 5, 2022
ac41fd4
Fix launch,json
zhiltsov-max Jul 5, 2022
03ddd56
Simplify imports
zhiltsov-max Jul 5, 2022
122635c
Fix tests
zhiltsov-max Jul 5, 2022
4ca10bc
Move operation method after api tag
zhiltsov-max Jul 5, 2022
1519d3a
Rename _preload_content to _parse_response
zhiltsov-max Jul 5, 2022
a123d6f
Regularize operation return types in API
zhiltsov-max Jul 7, 2022
13e9644
Add default _configuration arg in model creation, fix some type annot…
zhiltsov-max Jul 7, 2022
347e414
Update tests
zhiltsov-max Jul 8, 2022
c9d15d0
Add schema for page_size parameter
zhiltsov-max Jul 8, 2022
97d5beb
Enable users tests
zhiltsov-max Jul 11, 2022
c44f6af
Fix schema for tus-related endpoints (PATCH)
zhiltsov-max Jul 12, 2022
611d7fb
ProjectsApi: fix serializers, fix tests
zhiltsov-max Jul 12, 2022
6e22c63
Merge branch 'develop' into zm/add-cvat-sdk
zhiltsov-max Jul 12, 2022
17d790c
Update changelog
zhiltsov-max Jul 12, 2022
2b8a460
Dont run pylint on generated api client
zhiltsov-max Jul 12, 2022
3784e79
Exclude cvat-api-client from bandit and remark checks
zhiltsov-max Jul 12, 2022
0a991ed
Update CI for cvat-api-client dependency
zhiltsov-max Jul 12, 2022
525feb5
fix linter
zhiltsov-max Jul 12, 2022
af76558
Move remarkignore
zhiltsov-max Jul 12, 2022
434517b
Update docs, fix linter
zhiltsov-max Jul 12, 2022
cd5e1b9
Fix package installation
zhiltsov-max Jul 13, 2022
24837d8
Fix dev instructions
zhiltsov-max Jul 14, 2022
b2c362a
Revert serializer change
zhiltsov-max Jul 14, 2022
e913491
Merge branch 'develop' into zm/add-cvat-sdk
zhiltsov-max Jul 14, 2022
07069c4
Rename api-client to sdk
zhiltsov-max Jul 14, 2022
31034f1
Merge branch 'zm/add-cvat-sdk' of https://github.com/cvat-ai/cvat int…
zhiltsov-max Jul 14, 2022
d0e9075
Format files
zhiltsov-max Jul 14, 2022
06481e1
Add core client base to sdk
zhiltsov-max Jul 14, 2022
aa8672e
Style fixes
zhiltsov-max Jul 14, 2022
cb3576f
Implement task creation
zhiltsov-max Jul 15, 2022
d18271e
Update license headers, add task creation test
zhiltsov-max Jul 18, 2022
0de20f1
remove sample
zhiltsov-max Jul 18, 2022
63ce027
Fix overlap field schema
zhiltsov-max Jul 19, 2022
2af421a
Fix task creation test
zhiltsov-max Jul 19, 2022
bf57543
Manage session cookies in ApiClient
zhiltsov-max Jul 19, 2022
3e4e859
Don't overwrite gitignore
zhiltsov-max Jul 19, 2022
905dd92
Fix type annotation
zhiltsov-max Jul 19, 2022
c27b494
Add list fetching utility
zhiltsov-max Jul 20, 2022
55c120b
Fix users list response
zhiltsov-max Jul 20, 2022
e060f53
Fix example formatting
zhiltsov-max Jul 20, 2022
4a8dc99
Fix license headers
zhiltsov-max Jul 20, 2022
e6529cd
Update bulk task removal
zhiltsov-max Jul 20, 2022
64aecbe
Add progressreporter model, remove tqdm dependency
zhiltsov-max Jul 20, 2022
db96c6b
Fix enpoint names for cloudstorages
zhiltsov-max Jul 20, 2022
11e0ad0
Fix links in api contacts
zhiltsov-max Jul 20, 2022
c6349f4
Move l2 sources
zhiltsov-max Jul 20, 2022
16f09b3
Merge branch 'develop' into zm/sdk-l2
zhiltsov-max Jul 20, 2022
c24dd44
Change contact
zhiltsov-max Jul 20, 2022
9ef4b47
Fix linter error
zhiltsov-max Jul 20, 2022
84cfe84
Extract class for uploading
zhiltsov-max Jul 20, 2022
2f23938
Split cvat client into usecases
zhiltsov-max Jul 21, 2022
412d0fb
Enable sdk tests
zhiltsov-max Jul 26, 2022
2f31269
Move to OO-like approach
zhiltsov-max Jul 26, 2022
c1760fa
Fix test, clarify model interfaces
zhiltsov-max Jul 27, 2022
f05482a
Enable more task tests, introduce config
zhiltsov-max Jul 27, 2022
7bdce47
Enable task file downloading tests
zhiltsov-max Jul 27, 2022
80b36da
Enable frame downloading tests
zhiltsov-max Jul 27, 2022
65a3f9d
Fix annotation and backup uploading
zhiltsov-max Jul 28, 2022
e1bbc5f
Fix backup uploading
zhiltsov-max Jul 29, 2022
dece1bd
Clean imports
zhiltsov-max Jul 29, 2022
f4333f9
Fix param
zhiltsov-max Jul 29, 2022
cdb1be3
Rename CvatClient to Client
zhiltsov-max Aug 1, 2022
b776f18
Move types component
zhiltsov-max Aug 1, 2022
3414a68
Refactor cli code
zhiltsov-max Aug 1, 2022
4d01fb8
Refactor module placement
zhiltsov-max Aug 1, 2022
45c02c7
Add missing args
zhiltsov-max Aug 1, 2022
57e4116
Fix cookie handling
zhiltsov-max Aug 1, 2022
10875ab
Implement cli tests
zhiltsov-max Aug 1, 2022
d9a6e82
Add cli tests task in launch.json
zhiltsov-max Aug 1, 2022
ed2ae4b
Merge branch 'develop' into zm/sdk-l2
zhiltsov-max Aug 1, 2022
5b51bb2
Reorganize python test placement
zhiltsov-max Aug 2, 2022
8eaaf18
Fix tests after merge
zhiltsov-max Aug 2, 2022
89c2725
Add file uploading cli tests
zhiltsov-max Aug 2, 2022
1bc7cf6
Update launch.json
zhiltsov-max Aug 2, 2022
a05beec
Update github workflows
zhiltsov-max Aug 2, 2022
81233fc
Fix login problem
zhiltsov-max Aug 3, 2022
c2a5f3e
Fix imports
zhiltsov-max Aug 3, 2022
b17acc5
Fix linter errors
zhiltsov-max Aug 3, 2022
b8a7087
Fix ci
zhiltsov-max Aug 3, 2022
a4e51d4
Add a test for failed task creation
zhiltsov-max Aug 3, 2022
fb1e358
Add auth tests
zhiltsov-max Aug 3, 2022
a23ff17
Update issue tests to use sdk
zhiltsov-max Aug 3, 2022
39f4715
Remove PUT methods on model-specific endpoints
zhiltsov-max Aug 4, 2022
6798791
Fix auth tests
zhiltsov-max Aug 4, 2022
9da9436
Add issue removal tests
zhiltsov-max Aug 4, 2022
af6c598
Add jobs and downloading
zhiltsov-max Aug 4, 2022
6ef21e3
Fix potential logging problem
zhiltsov-max Aug 4, 2022
e3ea337
Refactor downloading and uploading
zhiltsov-max Aug 4, 2022
7a5df89
Fix tests, add Issues and Comments, move group operations to proxy cl…
zhiltsov-max Aug 5, 2022
00fdcf6
Merge branch 'develop' into zm/sdk-l2
zhiltsov-max Aug 8, 2022
e9c3113
Add TUS dep in SDK
zhiltsov-max Aug 8, 2022
db80b3e
Update cvat-sdk file layout
zhiltsov-max Aug 12, 2022
ee84cc9
Upgrade pylint and clean files
zhiltsov-max Aug 12, 2022
52c3e0f
fix check
zhiltsov-max Aug 12, 2022
5acea16
Update black and isort on CI
zhiltsov-max Aug 12, 2022
f7d786a
fix black and isort on ci
zhiltsov-max Aug 12, 2022
fd3220d
fix exit code
zhiltsov-max Aug 12, 2022
1b66328
fix linter error
zhiltsov-max Aug 12, 2022
a397cbd
Merge branch 'zm/sdk-l2' into zm/sdk-l2-me
zhiltsov-max Aug 12, 2022
dc4b551
Move helpers module
zhiltsov-max Aug 12, 2022
2b6e5f3
Fix generator version, enable sdk building on CI
zhiltsov-max Aug 12, 2022
08c3adf
fix exit code
zhiltsov-max Aug 12, 2022
5aaa323
Fix linter error
zhiltsov-max Aug 12, 2022
d696eb6
Merge branch 'zm/sdk-l2' into zm/sdk-l2-me
zhiltsov-max Aug 12, 2022
57620fc
Add support for OpenApiTypes in PolymorphicProxySerializer, fix job/a…
zhiltsov-max Aug 15, 2022
5afa6b5
Update job rest api tests to use sdk, fix job and job annotations end…
zhiltsov-max Aug 15, 2022
f7541b8
Introduce repositories in sdk level2
zhiltsov-max Aug 16, 2022
f023d11
Fix annotations and datasets schema, add rest api tests
zhiltsov-max Aug 16, 2022
12e5218
Merge branch 'develop' into zm/sdk-l2-me
zhiltsov-max Aug 16, 2022
2adcaad
Remove extra file
zhiltsov-max Aug 16, 2022
3fadfa5
Implement jobs sdk, add missing task methods. Add projects, issues, c…
zhiltsov-max Aug 17, 2022
aec4c29
Refactor sdk code, add job commits and issues
zhiltsov-max Aug 18, 2022
54e415c
Fix partial_update schemas, add issues and comments tests
zhiltsov-max Aug 19, 2022
a7c03a5
Make some parameters optional for annotation serializers
zhiltsov-max Aug 19, 2022
770fa1d
Treat message optional
zhiltsov-max Aug 19, 2022
6540888
Fix other model list endpoints in views
zhiltsov-max Aug 19, 2022
20a1e1b
Add missing tests and annotations methods in proxies
zhiltsov-max Aug 19, 2022
af1e15b
Fix show empty tasks (#100)
Marishka17 Aug 19, 2022
75ba69b
[Snyk] Upgrade dotenv-webpack from 7.1.1 to 8.0.0 (#98)
azhavoro Aug 19, 2022
7b492ee
Disable bandit for tests
zhiltsov-max Aug 22, 2022
f81f982
Fix bandit checks
zhiltsov-max Aug 22, 2022
30b60df
Fix bandit exclude
zhiltsov-max Aug 22, 2022
58e4fe5
Merge branch 'develop' into zm/sdk-l2-me
zhiltsov-max Aug 22, 2022
4f0aac5
Update server tests for task and jobs PUT method
zhiltsov-max Aug 22, 2022
b6369f7
Update changelog
zhiltsov-max Aug 22, 2022
0c5856a
Fix cloudstorages schema
zhiltsov-max Aug 23, 2022
e36f1ab
Add get status api test
zhiltsov-max Aug 23, 2022
bc94fb3
add cloudstorages sdk
zhiltsov-max Aug 23, 2022
de0bb09
Refactor resource import export tests
zhiltsov-max Aug 24, 2022
beaff57
Add debug output for generate.py
zhiltsov-max Aug 24, 2022
05d3eef
Fix sdk apis
zhiltsov-max Aug 24, 2022
77df5c9
Add more tests for cloud storages
zhiltsov-max Aug 24, 2022
6c8bff6
Update cloudstorage api tests
zhiltsov-max Aug 25, 2022
14e8156
Add cloudstorage proxies tests
zhiltsov-max Aug 25, 2022
10eadfd
Remove extra imports
zhiltsov-max Aug 25, 2022
c1f361d
Remove extra imports
zhiltsov-max Aug 26, 2022
54cd4ac
add project tests
zhiltsov-max Aug 27, 2022
9bbf292
Add an issue link in the workaround comment
zhiltsov-max Sep 5, 2022
3f55b31
Merge branch 'zm/cli-for-new-sdk' of https://github.com/opencv/cvat i…
zhiltsov-max Sep 5, 2022
7a16994
Add project tests
zhiltsov-max Sep 5, 2022
e953455
Merge branch 'develop' into zm/cli-for-new-sdk
zhiltsov-max Sep 7, 2022
e9f6e5a
Fix imports
zhiltsov-max Sep 7, 2022
8308948
Fix merge
zhiltsov-max Sep 7, 2022
dc698cd
Add more project proxy tests
zhiltsov-max Sep 8, 2022
9e252fd
try to fix backup uploading
zhiltsov-max Sep 8, 2022
7adf02b
Merge remote-tracking branch 'origin/zm/cli-for-new-sdk' into zm/cli-…
zhiltsov-max Oct 4, 2022
d15960c
Merge branch 'develop' into zm/cli-for-new-sdk
zhiltsov-max Oct 4, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix example formatting
  • Loading branch information
zhiltsov-max committed Jul 20, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit e060f53bc0acbe22dd785efcc1f11264067b6430
147 changes: 74 additions & 73 deletions cvat-sdk/cvat_sdk/configuration.py
Original file line number Diff line number Diff line change
@@ -34,87 +34,88 @@


class Configuration(object):
"""NOTE: This class is auto generated by OpenAPI Generator

Ref: https://openapi-generator.tech
Do not edit the class manually.

:param host: Base url
:param api_key: Dict to store API key(s).
Each entry in the dict specifies an API key.
The dict key is the name of the security scheme in the OAS specification.
The dict value is the API key secret.
:param api_key_prefix: Dict to store API prefix (e.g. Bearer)
The dict key is the name of the security scheme in the OAS specification.
The dict value is an API key prefix when generating the auth data.
:param username: Username for HTTP basic authentication
:param password: Password for HTTP basic authentication
:param discard_unknown_keys: Boolean value indicating whether to discard
unknown properties. A server may send a response that includes additional
properties that are not known by the client in the following scenarios:
1. The OpenAPI document is incomplete, i.e. it does not match the server
implementation.
2. The client was generated using an older version of the OpenAPI document
and the server has been upgraded since then.
If a schema in the OpenAPI document defines the additionalProperties attribute,
then all undeclared properties received by the server are injected into the
additional properties map. In that case, there are undeclared properties, and
nothing to discard.
:param disabled_client_side_validations (string): Comma-separated list of
JSON schema validation keywords to disable JSON schema structural validation
rules. The following keywords may be specified: multipleOf, maximum,
exclusiveMaximum, minimum, exclusiveMinimum, maxLength, minLength, pattern,
maxItems, minItems.
By default, the validation is performed for data generated locally by the client
and data received from the server, independent of any validation performed by
the server side. If the input data does not satisfy the JSON schema validation
rules specified in the OpenAPI document, an exception is raised.
If disabled_client_side_validations is set, structural validation is
disabled. This can be useful to troubleshoot data validation problem, such as
when the OpenAPI document validation rules do not match the actual API data
received by the server.
:param server_index: Index to servers configuration.
:param server_variables: Mapping with string values to replace variables in
templated server configuration. The validation of enums is performed for
variables with defined enum values before.
:param server_operation_index: Mapping from operation ID to an index to server
configuration.
:param server_operation_variables: Mapping from operation ID to a mapping with
string values to replace variables in templated server configuration.
The validation of enums is performed for variables with defined enum values before.
:param ssl_ca_cert: str - the path to a file of concatenated CA certificates
in PEM format

:Example:

API Key Authentication Example.
Given the following security scheme in the OpenAPI specification:
components:
securitySchemes:
cookieAuth: # name for the security scheme
type: apiKey
in: cookie
name: JSESSIONID # cookie name

You can programmatically set the cookie:
"""
NOTE: This class is auto generated by OpenAPI Generator

Ref: https://openapi-generator.tech
Do not edit the class manually.

:param host: Base url
:param api_key: Dict to store API key(s).
Each entry in the dict specifies an API key.
The dict key is the name of the security scheme in the OAS specification.
The dict value is the API key secret.
:param api_key_prefix: Dict to store API prefix (e.g. Bearer)
The dict key is the name of the security scheme in the OAS specification.
The dict value is an API key prefix when generating the auth data.
:param username: Username for HTTP basic authentication
:param password: Password for HTTP basic authentication
:param discard_unknown_keys: Boolean value indicating whether to discard
unknown properties. A server may send a response that includes additional
properties that are not known by the client in the following scenarios:
1. The OpenAPI document is incomplete, i.e. it does not match the server
implementation.
2. The client was generated using an older version of the OpenAPI document
and the server has been upgraded since then.
If a schema in the OpenAPI document defines the additionalProperties attribute,
then all undeclared properties received by the server are injected into the
additional properties map. In that case, there are undeclared properties, and
nothing to discard.
:param disabled_client_side_validations (string): Comma-separated list of
JSON schema validation keywords to disable JSON schema structural validation
rules. The following keywords may be specified: multipleOf, maximum,
exclusiveMaximum, minimum, exclusiveMinimum, maxLength, minLength, pattern,
maxItems, minItems.
By default, the validation is performed for data generated locally by the client
and data received from the server, independent of any validation performed by
the server side. If the input data does not satisfy the JSON schema validation
rules specified in the OpenAPI document, an exception is raised.
If disabled_client_side_validations is set, structural validation is
disabled. This can be useful to troubleshoot data validation problem, such as
when the OpenAPI document validation rules do not match the actual API data
received by the server.
:param server_index: Index to servers configuration.
:param server_variables: Mapping with string values to replace variables in
templated server configuration. The validation of enums is performed for
variables with defined enum values before.
:param server_operation_index: Mapping from operation ID to an index to server
configuration.
:param server_operation_variables: Mapping from operation ID to a mapping with
string values to replace variables in templated server configuration.
The validation of enums is performed for variables with defined enum values before.
:param ssl_ca_cert: str - the path to a file of concatenated CA certificates
in PEM format

:Example:

API Key Authentication Example.
Given the following security scheme in the OpenAPI specification:
components:
securitySchemes:
cookieAuth: # name for the security scheme
type: apiKey
in: cookie
name: JSESSIONID # cookie name

You can programmatically set the cookie:

conf = cvat_sdk.Configuration(
api_key={'cookieAuth': 'abc123'}
api_key_prefix={'cookieAuth': 'JSESSIONID'}
)

The following cookie will be added to the HTTP request:
Cookie: JSESSIONID abc123
The following cookie will be added to the HTTP request:
Cookie: JSESSIONID abc123

HTTP Basic Authentication Example.
Given the following security scheme in the OpenAPI specification:
components:
securitySchemes:
http_basic_auth:
type: http
scheme: basic
HTTP Basic Authentication Example.
Given the following security scheme in the OpenAPI specification:
components:
securitySchemes:
http_basic_auth:
type: http
scheme: basic

Configure API client with HTTP basic authentication:
Configure API client with HTTP basic authentication:

conf = cvat_sdk.Configuration(
username='the-user',
53 changes: 27 additions & 26 deletions cvat-sdk/gen/templates/openapi-generator/configuration.mustache
Original file line number Diff line number Diff line change
@@ -19,7 +19,8 @@ JSON_SCHEMA_VALIDATION_KEYWORDS = {
}

class Configuration(object):
"""NOTE: This class is auto generated by OpenAPI Generator
"""
NOTE: This class is auto generated by OpenAPI Generator

Ref: https://openapi-generator.tech
Do not edit the class manually.
@@ -89,10 +90,10 @@ class Configuration(object):

You can programmatically set the cookie:

conf = {{{packageName}}}.Configuration(
api_key={'cookieAuth': 'abc123'}
api_key_prefix={'cookieAuth': 'JSESSIONID'}
)
conf = {{{packageName}}}.Configuration(
api_key={'cookieAuth': 'abc123'}
api_key_prefix={'cookieAuth': 'JSESSIONID'}
)

The following cookie will be added to the HTTP request:
Cookie: JSESSIONID abc123
@@ -109,10 +110,10 @@ conf = {{{packageName}}}.Configuration(

Configure API client with HTTP basic authentication:

conf = {{{packageName}}}.Configuration(
username='the-user',
password='the-password',
)
conf = {{{packageName}}}.Configuration(
username='the-user',
password='the-password',
)

{{/hasHttpBasicMethods}}
{{#hasHttpSignatureMethods}}
@@ -137,23 +138,23 @@ conf = {{{packageName}}}.Configuration(
load balancers may add/modify/remove headers. Include the HTTP headers that you know
are not going to be modified in transit.

conf = {{{packageName}}}.Configuration(
signing_info = {{{packageName}}}.signing.HttpSigningConfiguration(
key_id = 'my-key-id',
private_key_path = 'rsa.pem',
signing_scheme = {{{packageName}}}.signing.SCHEME_HS2019,
signing_algorithm = {{{packageName}}}.signing.ALGORITHM_RSASSA_PSS,
signed_headers = [{{{packageName}}}.signing.HEADER_REQUEST_TARGET,
{{{packageName}}}.signing.HEADER_CREATED,
{{{packageName}}}.signing.HEADER_EXPIRES,
{{{packageName}}}.signing.HEADER_HOST,
{{{packageName}}}.signing.HEADER_DATE,
{{{packageName}}}.signing.HEADER_DIGEST,
'Content-Type',
'User-Agent'
],
signature_max_validity = datetime.timedelta(minutes=5)
)
conf = {{{packageName}}}.Configuration(
signing_info = {{{packageName}}}.signing.HttpSigningConfiguration(
key_id = 'my-key-id',
private_key_path = 'rsa.pem',
signing_scheme = {{{packageName}}}.signing.SCHEME_HS2019,
signing_algorithm = {{{packageName}}}.signing.ALGORITHM_RSASSA_PSS,
signed_headers = [{{{packageName}}}.signing.HEADER_REQUEST_TARGET,
{{{packageName}}}.signing.HEADER_CREATED,
{{{packageName}}}.signing.HEADER_EXPIRES,
{{{packageName}}}.signing.HEADER_HOST,
{{{packageName}}}.signing.HEADER_DATE,
{{{packageName}}}.signing.HEADER_DIGEST,
'Content-Type',
'User-Agent'
],
signature_max_validity = datetime.timedelta(minutes=5)
)
)
{{/hasHttpSignatureMethods}}
{{/hasAuthMethods}}