Skip to content

Commit

Permalink
upload 3.20.5
Browse files Browse the repository at this point in the history
  • Loading branch information
shenqing-github committed Jul 3, 2020
1 parent cdf7239 commit 364e218
Show file tree
Hide file tree
Showing 10 changed files with 2,103 additions and 947 deletions.
Binary file added release/huaweicloud-obs-sdk-python_3.20.5.tar.gz
Binary file not shown.
1 change: 1 addition & 0 deletions release/huaweicloud-obs-sdk-python_3.20.5.tar.gz.sha256
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
16ebfc601c4c6f4fae1a378bea7f3af58a0424b76c5853d51c025fb33b525333 *huaweicloud-obs-sdk-python_3.20.5.tar.gz
4 changes: 3 additions & 1 deletion src/obs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
from obs.client import ObsClient
from obs.model import *
from obs.model import ExtensionHeader, FetchStatus
from obs.workflow import WorkflowClient

__all__ = [
'LogConf',
Expand Down Expand Up @@ -75,6 +76,7 @@
'UploadFileHeader',
'Payer',
'ExtensionHeader',
'FetchStatus'
'FetchStatus',
'WorkflowClient'
]

861 changes: 530 additions & 331 deletions src/obs/client.py

Large diffs are not rendered by default.

19 changes: 17 additions & 2 deletions src/obs/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
DEFAULT_TASK_QUEUE_SIZE = 20000


OBS_SDK_VERSION = '3.20.3'
OBS_SDK_VERSION = '3.20.5'

V2_META_HEADER_PREFIX = 'x-amz-meta-'
V2_HEADER_PREFIX = 'x-amz-'
Expand All @@ -111,6 +111,10 @@
FETCH_POLICY_KEY = "v1/extension_policy"
FETCH_JOB_KEY = "v1/async-fetch/jobs"

WORKFLOW_TEMPLATES = 'workflowtemplates'
WORKFLOWS = 'workflows'
WORKFLOWEXECUTIONS = 'workflowexecutions'

ALLOWED_RESOURCE_PARAMTER_NAMES = (
'acl',
'backtosource',
Expand Down Expand Up @@ -161,7 +165,18 @@
'x-image-save-bucket',
'x-image-save-object',
'x-image-process',
'x-oss-process'
'x-oss-process',

# workflow api
'x-workflow-prefix',
'x-workflow-start',
'x-workflow-limit',
'x-workflow-template-name',
'x-workflow-graph-name',
'x-workflow-execution-state',
'x-workflow-execution-type',
'x-workflow-next-marker',
'triggerpolicy'
)

ALLOWED_REQUEST_HTTP_HEADER_METADATA_NAMES = (
Expand Down
Loading

0 comments on commit 364e218

Please sign in to comment.