atlassian-python-api 4.0.4__tar.gz → 4.0.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {atlassian_python_api-4.0.4/atlassian_python_api.egg-info → atlassian_python_api-4.0.5}/PKG-INFO +3 -3
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/README.rst +1 -1
- atlassian_python_api-4.0.5/atlassian/VERSION +1 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/bitbucket/__init__.py +5 -8
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/bitbucket/cloud/common/users.py +48 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/bitbucket/cloud/repositories/__init__.py +11 -3
- atlassian_python_api-4.0.5/atlassian/bitbucket/cloud/repositories/downloads.py +75 -0
- atlassian_python_api-4.0.4/atlassian/confluence.py → atlassian_python_api-4.0.5/atlassian/confluence/__init__.py +192 -3
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/errors.py +9 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/insight.py +1 -1
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/jira.py +30 -1
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/rest_client.py +8 -3
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5/atlassian_python_api.egg-info}/PKG-INFO +3 -3
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian_python_api.egg-info/SOURCES.txt +2 -1
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/setup.py +1 -1
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/__pycache__/test_confluence_advanced_mode.cpython-39-pytest-8.3.5.pyc +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/test_confluence_advanced_mode.py +1 -1
- atlassian_python_api-4.0.4/atlassian/VERSION +0 -1
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/LICENSE +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/MANIFEST.in +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/__init__.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/assets.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/bamboo.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/bitbucket/base.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/bitbucket/cloud/__init__.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/bitbucket/cloud/base.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/bitbucket/cloud/common/__init__.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/bitbucket/cloud/common/builds.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/bitbucket/cloud/common/comments.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/bitbucket/cloud/repositories/branchRestrictions.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/bitbucket/cloud/repositories/commits.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/bitbucket/cloud/repositories/defaultReviewers.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/bitbucket/cloud/repositories/deploymentEnvironments.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/bitbucket/cloud/repositories/diffstat.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/bitbucket/cloud/repositories/groupPermissions.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/bitbucket/cloud/repositories/hooks.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/bitbucket/cloud/repositories/issues.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/bitbucket/cloud/repositories/pipelines.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/bitbucket/cloud/repositories/pullRequests.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/bitbucket/cloud/repositories/refs.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/bitbucket/cloud/repositories/repositoryVariables.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/bitbucket/cloud/workspaces/__init__.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/bitbucket/cloud/workspaces/members.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/bitbucket/cloud/workspaces/permissions.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/bitbucket/cloud/workspaces/projects.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/bitbucket/server/__init__.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/bitbucket/server/base.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/bitbucket/server/common/__init__.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/bitbucket/server/common/permissions.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/bitbucket/server/globalPermissions.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/bitbucket/server/projects/__init__.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/bitbucket/server/projects/repos/__init__.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/cloud_admin.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/crowd.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/marketplace.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/portfolio.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/py.typed +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/request_utils.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/service_desk.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/statuspage.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/typehints.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/utils.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/xray.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian_python_api.egg-info/dependency_links.txt +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian_python_api.egg-info/not-zip-safe +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian_python_api.egg-info/requires.txt +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian_python_api.egg-info/top_level.txt +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/pyproject.toml +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/requirements.txt +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/setup.cfg +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/__init__.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/__pycache__/__init__.cpython-39.pyc +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/__pycache__/mockup.cpython-39.pyc +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/__pycache__/test_base.cpython-39-pytest-8.3.4.pyc +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/__pycache__/test_base.cpython-39-pytest-8.3.5.pyc +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/__pycache__/test_bitbucket_cloud_oo.cpython-39-pytest-8.3.4.pyc +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/__pycache__/test_bitbucket_cloud_oo.cpython-39-pytest-8.3.5.pyc +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/__pycache__/test_bitbucket_server.cpython-39-pytest-8.3.4.pyc +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/__pycache__/test_bitbucket_server.cpython-39-pytest-8.3.5.pyc +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/__pycache__/test_bitbucket_server_oo.cpython-39-pytest-8.3.4.pyc +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/__pycache__/test_bitbucket_server_oo.cpython-39-pytest-8.3.5.pyc +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/__pycache__/test_confluence_advanced_mode.cpython-39-pytest-8.3.4.pyc +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/__pycache__/test_confluence_attach.cpython-39-pytest-8.3.4.pyc +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/__pycache__/test_confluence_attach.cpython-39-pytest-8.3.5.pyc +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/__pycache__/test_jira.cpython-39-pytest-8.3.4.pyc +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/__pycache__/test_jira.cpython-39-pytest-8.3.5.pyc +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/__pycache__/test_servicedesk.cpython-39-pytest-8.3.4.pyc +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/__pycache__/test_servicedesk.cpython-39-pytest-8.3.5.pyc +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/mockup.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/TestRepositoryCreated/POST +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/branch-restrictions/17203842/DELETE +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/branch-restrictions/17203842/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/branch-restrictions/17203842/PUT +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/branch-restrictions/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/default-reviewers/DefaultReviewer1Uuid/DELETE +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/default-reviewers/DefaultReviewer1Uuid/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/default-reviewers/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/issues/3/DELETE +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/issues/3/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/issues/3/PUT +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/issues/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/issues/POST +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pipelines/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pipelines/POST +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pipelines/{PipelineUuid}/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pipelines/{PipelineUuid}/steps/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pipelines/{PipelineUuid}/steps/{PipelineStep1Uuid}/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pipelines/{PipelineUuid}/steps/{PipelineStep2Uuid}/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pipelines/{PipelineUuid}/steps/{PipelineStep2Uuid}/log/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pipelines/{PipelineUuid}/stopPipeline/POST +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/approve/DELETE +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/approve/POST +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/comments/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/comments/POST +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/commits/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/decline/POST +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/merge/POST +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/request-changes/DELETE +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/request-changes/POST +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/statuses/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/tasks/123456/DELETE +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/tasks/123456/PUT +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/tasks/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/1/tasks/POST +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/25/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/cloud/2.0/repositories/TestWorkspace1/testrepository1/pullrequests/POST +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/cloud/2.0/workspaces/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/cloud/2.0/workspaces/TestWorkspace1/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/cloud/2.0/workspaces/TestWorkspace2/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/cloud/2.0/workspaces/TestWorkspace3/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/server/rest/api/1.0/admin/permissions/groups/DELETE +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/server/rest/api/1.0/admin/permissions/groups/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/server/rest/api/1.0/admin/permissions/groups/none/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/server/rest/api/1.0/admin/permissions/users/DELETE +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/server/rest/api/1.0/admin/permissions/users/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/server/rest/api/1.0/admin/permissions/users/none/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/server/rest/api/1.0/projects/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/PUT +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/permissions/groups/DELETE +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/permissions/groups/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/permissions/groups/none/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/permissions/users/DELETE +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/permissions/users/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/permissions/users/none/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/PUT +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/archive/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/contributing/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/default-branch/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/default-branch/PUT +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/forks/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/license/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/permissions/groups/DELETE +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/permissions/groups/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/permissions/groups/none/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/permissions/users/DELETE +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/permissions/users/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/permissions/users/none/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/readme/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/related/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/webhooks/3/DELETE +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/webhooks/3/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/webhooks/3/PUT +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/webhooks/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/bitbucket/server/rest/api/1.0/projects/PRJ/repos/my-repo1-slug/webhooks/POST +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/jira/rest/agile/1.0/epic/BAR-22/issue/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/jira/rest/agile/1.0/epic/none/issue/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/jira/rest/api/2/comment/list/POST +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/jira/rest/api/2/issue/FOO-123/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/jira/rest/api/2/issue/FOO-123/comment/10000/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/jira/rest/api/2/issue/FOO-123/comment/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/jira/rest/api/2/issue/FOO-123/properties/Bar1/DELETE +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/jira/rest/api/2/issue/FOO-123/properties/Bar1/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/jira/rest/api/2/issue/FOO-123/properties/Bar1/PUT +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/jira/rest/api/2/issue/FOO-123/properties/Bar2New/PUT +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/jira/rest/api/2/issue/FOO-123/properties/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/jira/rest/api/2/issue/FOO-123/remotelink/POST +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/jira/rest/api/2/issue/POST +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/jira/rest/api/2/issue/REGEX-123/file.txt +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/servicedesk/rest/servicedeskapi/customer/POST +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/servicedesk/rest/servicedeskapi/organization/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/servicedesk/rest/servicedeskapi/organization/POST +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/servicedesk/rest/servicedeskapi/organization/{organizationId}/DELETE +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/servicedesk/rest/servicedeskapi/organization/{organizationId}/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/servicedesk/rest/servicedeskapi/organization/{organizationId}/property/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/servicedesk/rest/servicedeskapi/organization/{organizationId}/user/DELETE +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/servicedesk/rest/servicedeskapi/organization/{organizationId}/user/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/servicedesk/rest/servicedeskapi/organization/{organizationId}/user/POST +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/servicedesk/rest/servicedeskapi/servicedesk/{serviceDeskId}/customer/DELETE +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/servicedesk/rest/servicedeskapi/servicedesk/{serviceDeskId}/customer/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/servicedesk/rest/servicedeskapi/servicedesk/{serviceDeskId}/customer/POST +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/servicedesk/rest/servicedeskapi/servicedesk/{serviceDeskId}/organization/DELETE +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/servicedesk/rest/servicedeskapi/servicedesk/{serviceDeskId}/organization/GET +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/responses/servicedesk/rest/servicedeskapi/servicedesk/{serviceDeskId}/organization/POST +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/test_base.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/test_bitbucket_cloud_oo.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/test_bitbucket_server.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/test_bitbucket_server_oo.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/test_confluence_attach.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/test_jira.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tests/test_servicedesk.py +0 -0
- {atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/tox.ini +0 -0
{atlassian_python_api-4.0.4/atlassian_python_api.egg-info → atlassian_python_api-4.0.5}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: atlassian-python-api
|
|
3
|
-
Version: 4.0.
|
|
3
|
+
Version: 4.0.5
|
|
4
4
|
Summary: Python Atlassian REST API Wrapper
|
|
5
5
|
Home-page: https://github.com/atlassian-api/atlassian-python-api
|
|
6
6
|
Download-URL: https://github.com/atlassian-api/atlassian-python-api
|
|
@@ -8,7 +8,7 @@ Author: Matt Harasymczuk
|
|
|
8
8
|
Author-email: matt@astrotech.io
|
|
9
9
|
Maintainer: Gonchik Tsymzhitov
|
|
10
10
|
Maintainer-email: gonchik.tsymzhitov@gmail.com
|
|
11
|
-
License: Apache
|
|
11
|
+
License: Apache-2.0
|
|
12
12
|
Keywords: atlassian jira core software confluence bitbucket bamboo crowd portfolio tempo servicedesk assets api
|
|
13
13
|
Platform: Platform Independent
|
|
14
14
|
Classifier: Development Status :: 4 - Beta
|
|
@@ -82,7 +82,7 @@ and is compatible with both Atlassian Server and Cloud instances.
|
|
|
82
82
|
|
|
83
83
|
Overall, the **atlassian-python-api** is a useful tool for Python developers who want to work with Atlassian products.
|
|
84
84
|
It is well-documented and actively maintained, and provides a convenient way to access the full range of
|
|
85
|
-
functionality offered by the Atlassian REST APIs.
|
|
85
|
+
functionality offered by the Atlassian REST APIs and made with love for Atlassian.
|
|
86
86
|
|
|
87
87
|
|
|
88
88
|
Documentation
|
|
@@ -16,7 +16,7 @@ and is compatible with both Atlassian Server and Cloud instances.
|
|
|
16
16
|
|
|
17
17
|
Overall, the **atlassian-python-api** is a useful tool for Python developers who want to work with Atlassian products.
|
|
18
18
|
It is well-documented and actively maintained, and provides a convenient way to access the full range of
|
|
19
|
-
functionality offered by the Atlassian REST APIs.
|
|
19
|
+
functionality offered by the Atlassian REST APIs and made with love for Atlassian.
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
Documentation
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
4.0.5
|
|
@@ -1577,14 +1577,7 @@ class Bitbucket(BitbucketBase):
|
|
|
1577
1577
|
return f"{self._url_repo(project_key, repository_slug)}/pull-requests"
|
|
1578
1578
|
|
|
1579
1579
|
def get_pull_requests(
|
|
1580
|
-
self,
|
|
1581
|
-
project_key,
|
|
1582
|
-
repository_slug,
|
|
1583
|
-
state="OPEN",
|
|
1584
|
-
order="newest",
|
|
1585
|
-
limit=100,
|
|
1586
|
-
start=0,
|
|
1587
|
-
at=None,
|
|
1580
|
+
self, project_key, repository_slug, state="OPEN", order="newest", limit=100, start=0, at=None, filter_text=None
|
|
1588
1581
|
):
|
|
1589
1582
|
"""
|
|
1590
1583
|
Get pull requests
|
|
@@ -1596,6 +1589,8 @@ class Bitbucket(BitbucketBase):
|
|
|
1596
1589
|
:param limit:
|
|
1597
1590
|
:param start:
|
|
1598
1591
|
:param at:
|
|
1592
|
+
:param filter_text: (optional) If specified, only pull requests where the title or description
|
|
1593
|
+
contains the supplied string will be returned.
|
|
1599
1594
|
:return:
|
|
1600
1595
|
"""
|
|
1601
1596
|
url = self._url_pull_requests(project_key, repository_slug)
|
|
@@ -1610,6 +1605,8 @@ class Bitbucket(BitbucketBase):
|
|
|
1610
1605
|
params["order"] = order
|
|
1611
1606
|
if at:
|
|
1612
1607
|
params["at"] = at
|
|
1608
|
+
if filter_text:
|
|
1609
|
+
params["filterText"] = filter_text
|
|
1613
1610
|
return self._get_paged(url, params=params)
|
|
1614
1611
|
|
|
1615
1612
|
def get_required_reviewers_for_pull_request(
|
{atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian/bitbucket/cloud/common/users.py
RENAMED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
from datetime import datetime
|
|
2
|
+
|
|
1
3
|
from ..base import BitbucketCloudBase
|
|
2
4
|
|
|
3
5
|
|
|
@@ -31,6 +33,49 @@ class User(BitbucketCloudBase):
|
|
|
31
33
|
return self.get_data("links")["avatar"]["href"]
|
|
32
34
|
|
|
33
35
|
|
|
36
|
+
class AppUser(BitbucketCloudBase):
|
|
37
|
+
def __init__(self, url, data, *args, **kwargs):
|
|
38
|
+
super(AppUser, self).__init__(url, *args, data=data, expected_type="app_user", **kwargs)
|
|
39
|
+
|
|
40
|
+
@property
|
|
41
|
+
def display_name(self):
|
|
42
|
+
"""User display name"""
|
|
43
|
+
return str(self.get_data("display_name"))
|
|
44
|
+
|
|
45
|
+
@property
|
|
46
|
+
def account_id(self):
|
|
47
|
+
"""User account id"""
|
|
48
|
+
return self.get_data("account_id")
|
|
49
|
+
|
|
50
|
+
@property
|
|
51
|
+
def account_status(self):
|
|
52
|
+
"""User account status"""
|
|
53
|
+
return self.get_data("account_status")
|
|
54
|
+
|
|
55
|
+
@property
|
|
56
|
+
def created_on(self):
|
|
57
|
+
"""User creation date"""
|
|
58
|
+
created_on = self.get_data("created_on")
|
|
59
|
+
if created_on is None:
|
|
60
|
+
return None
|
|
61
|
+
return datetime.strptime(created_on, self.CONF_TIMEFORMAT)
|
|
62
|
+
|
|
63
|
+
@property
|
|
64
|
+
def uuid(self):
|
|
65
|
+
"""User id"""
|
|
66
|
+
return self.get_data("uuid")
|
|
67
|
+
|
|
68
|
+
@property
|
|
69
|
+
def kind(self):
|
|
70
|
+
"""User kind"""
|
|
71
|
+
return self.get_data("kind")
|
|
72
|
+
|
|
73
|
+
@property
|
|
74
|
+
def links(self):
|
|
75
|
+
"""User links"""
|
|
76
|
+
return self.get_data("links")
|
|
77
|
+
|
|
78
|
+
|
|
34
79
|
class Participant(BitbucketCloudBase):
|
|
35
80
|
ROLE_REVIEWER = "REVIEWER"
|
|
36
81
|
ROLE_PARTICIPANT = "PARTICIPANT"
|
|
@@ -42,6 +87,9 @@ class Participant(BitbucketCloudBase):
|
|
|
42
87
|
@property
|
|
43
88
|
def user(self):
|
|
44
89
|
"""User object with user information of the participant."""
|
|
90
|
+
if self.get_data("type") == "app_user":
|
|
91
|
+
# If the participant is an app user, return an AppUser instance
|
|
92
|
+
return AppUser(None, self.get_data("app_user"), **self._new_session_args)
|
|
45
93
|
return User(None, self.get_data("user"), **self._new_session_args)
|
|
46
94
|
|
|
47
95
|
@property
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
2
|
|
|
3
3
|
from requests import HTTPError
|
|
4
|
-
|
|
5
|
-
from .issues import Issues
|
|
4
|
+
|
|
6
5
|
from .branchRestrictions import BranchRestrictions
|
|
7
6
|
from .commits import Commits
|
|
8
|
-
from .hooks import Hooks
|
|
9
7
|
from .defaultReviewers import DefaultReviewers
|
|
10
8
|
from .deploymentEnvironments import DeploymentEnvironments
|
|
9
|
+
from .downloads import Downloads
|
|
11
10
|
from .groupPermissions import GroupPermissions
|
|
11
|
+
from .hooks import Hooks
|
|
12
|
+
from .issues import Issues
|
|
12
13
|
from .pipelines import Pipelines
|
|
13
14
|
from .pullRequests import PullRequests
|
|
14
15
|
from .refs import Branches, Tags
|
|
15
16
|
from .repositoryVariables import RepositoryVariables
|
|
17
|
+
from ..base import BitbucketCloudBase
|
|
16
18
|
|
|
17
19
|
|
|
18
20
|
class RepositoriesBase(BitbucketCloudBase):
|
|
@@ -277,6 +279,7 @@ class Repository(BitbucketCloudBase):
|
|
|
277
279
|
f"{self.url}/pipelines_config/variables", **self._new_session_args
|
|
278
280
|
)
|
|
279
281
|
self.__tags = Tags(f"{self.url}/refs/tags", **self._new_session_args)
|
|
282
|
+
self.__downloads = Downloads(f"{self.url}/downloads", **self._new_session_args)
|
|
280
283
|
|
|
281
284
|
def update(self, **kwargs):
|
|
282
285
|
"""
|
|
@@ -433,3 +436,8 @@ class Repository(BitbucketCloudBase):
|
|
|
433
436
|
def tags(self):
|
|
434
437
|
"""The repository tags."""
|
|
435
438
|
return self.__tags
|
|
439
|
+
|
|
440
|
+
@property
|
|
441
|
+
def downloads(self):
|
|
442
|
+
"""The repository downloads"""
|
|
443
|
+
return self.__downloads
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
from datetime import datetime
|
|
2
|
+
|
|
3
|
+
from ..base import BitbucketCloudBase
|
|
4
|
+
from ..common.users import AppUser
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class Download(BitbucketCloudBase):
|
|
8
|
+
def __init__(self, url, data, *args, **kwargs):
|
|
9
|
+
super(Download, self).__init__(url, *args, data=data, expected_type="download", **kwargs)
|
|
10
|
+
|
|
11
|
+
@property
|
|
12
|
+
def name(self):
|
|
13
|
+
"""The download file name"""
|
|
14
|
+
return self.get_data("name")
|
|
15
|
+
|
|
16
|
+
@property
|
|
17
|
+
def size(self):
|
|
18
|
+
"""The download size in bytes"""
|
|
19
|
+
return self.get_data("size")
|
|
20
|
+
|
|
21
|
+
@property
|
|
22
|
+
def created_on(self):
|
|
23
|
+
"""The download created date"""
|
|
24
|
+
created_on = self.get_data("created_on")
|
|
25
|
+
if created_on is None:
|
|
26
|
+
return None
|
|
27
|
+
return datetime.strptime(created_on, self.CONF_TIMEFORMAT)
|
|
28
|
+
|
|
29
|
+
@property
|
|
30
|
+
def user(self):
|
|
31
|
+
"""The user who created this download"""
|
|
32
|
+
return AppUser(None, self.get_data("user"))
|
|
33
|
+
|
|
34
|
+
@property
|
|
35
|
+
def downloads(self):
|
|
36
|
+
"""The number of times this file was downloaded"""
|
|
37
|
+
return self.get_data("downloads")
|
|
38
|
+
|
|
39
|
+
@property
|
|
40
|
+
def links(self):
|
|
41
|
+
"""The download links"""
|
|
42
|
+
return self.get_data("links")
|
|
43
|
+
|
|
44
|
+
def get_content(self):
|
|
45
|
+
"""Download file content"""
|
|
46
|
+
return self.get(self.url, absolute=True)
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
class Downloads(BitbucketCloudBase):
|
|
50
|
+
def __init__(self, url, *args, **kwargs):
|
|
51
|
+
super(Downloads, self).__init__(url, *args, **kwargs)
|
|
52
|
+
|
|
53
|
+
def __get_object(self, data):
|
|
54
|
+
url = self.url_joiner(self.url, data["name"])
|
|
55
|
+
if data["links"] and data["links"]["self"] and data["links"]["self"]["href"]:
|
|
56
|
+
url = data["links"]["self"]["href"]
|
|
57
|
+
|
|
58
|
+
return Download(
|
|
59
|
+
url,
|
|
60
|
+
data,
|
|
61
|
+
**self._new_session_args
|
|
62
|
+
) # fmt: skip
|
|
63
|
+
|
|
64
|
+
def each(self):
|
|
65
|
+
"""
|
|
66
|
+
Returns the list of downloads in this repository.
|
|
67
|
+
|
|
68
|
+
:return: A generator for the Download objects
|
|
69
|
+
|
|
70
|
+
API docs: https://developer.atlassian.com/cloud/bitbucket/rest/api-group-downloads/#api-repositories-workspace-repo-slug-downloads-get
|
|
71
|
+
"""
|
|
72
|
+
for issue in self._get_paged(None):
|
|
73
|
+
yield self.__get_object(issue)
|
|
74
|
+
|
|
75
|
+
return
|
|
@@ -5,6 +5,7 @@ import logging
|
|
|
5
5
|
import os
|
|
6
6
|
import re
|
|
7
7
|
import time
|
|
8
|
+
import warnings
|
|
8
9
|
from typing import cast
|
|
9
10
|
|
|
10
11
|
import requests
|
|
@@ -13,16 +14,23 @@ from deprecated import deprecated
|
|
|
13
14
|
from requests import HTTPError
|
|
14
15
|
|
|
15
16
|
from atlassian import utils
|
|
16
|
-
|
|
17
|
-
from .errors import (
|
|
17
|
+
from atlassian.errors import (
|
|
18
18
|
ApiConflictError,
|
|
19
19
|
ApiError,
|
|
20
20
|
ApiNotAcceptable,
|
|
21
21
|
ApiNotFoundError,
|
|
22
22
|
ApiPermissionError,
|
|
23
23
|
ApiValueError,
|
|
24
|
+
JsonRPCError,
|
|
25
|
+
JsonRPCRestrictionsError,
|
|
24
26
|
)
|
|
25
|
-
from .rest_client import AtlassianRestAPI
|
|
27
|
+
from atlassian.rest_client import AtlassianRestAPI
|
|
28
|
+
import sys
|
|
29
|
+
|
|
30
|
+
if sys.version_info >= (3, 8):
|
|
31
|
+
from typing import Literal # Python 3.8+
|
|
32
|
+
else:
|
|
33
|
+
from typing_extensions import Literal # Python <=3.7
|
|
26
34
|
|
|
27
35
|
log = logging.getLogger(__name__)
|
|
28
36
|
|
|
@@ -860,6 +868,160 @@ class Confluence(AtlassianRestAPI):
|
|
|
860
868
|
url = f"rest/api/content/{content_id}/restriction/byOperation"
|
|
861
869
|
return self.get(url)
|
|
862
870
|
|
|
871
|
+
def get_all_restrictions_from_page_json_rpc(self, page_id):
|
|
872
|
+
"""
|
|
873
|
+
The JSON-RPC APIs for Confluence are provided here to help you browse and discover APIs you have access to.
|
|
874
|
+
JSON-RPC APIs operate differently than REST APIs.
|
|
875
|
+
To learn more about how to use these APIs,
|
|
876
|
+
please refer to the Confluence JSON-RPC documentation on Atlassian Developers.
|
|
877
|
+
"""
|
|
878
|
+
if self.api_version == "cloud" or self.cloud:
|
|
879
|
+
return {}
|
|
880
|
+
url = "rpc/json-rpc/confluenceservice-v2"
|
|
881
|
+
data = {"jsonrpc": "2.0", "method": "getContentPermissionSets", "id": 9, "params": [page_id]}
|
|
882
|
+
return self.post(url, data=data).get("result") or {}
|
|
883
|
+
|
|
884
|
+
def update_restrictions_for_page_json_rpc(self, page_id, permission_type, content_permissions):
|
|
885
|
+
"""
|
|
886
|
+
The JSON-RPC APIs for Confluence are provided here to help you browse and discover APIs you have access to.
|
|
887
|
+
JSON-RPC APIs operate differently than REST APIs.
|
|
888
|
+
To learn more about how to use these APIs,
|
|
889
|
+
please refer to the Confluence JSON-RPC documentation on Atlassian Developers.
|
|
890
|
+
"""
|
|
891
|
+
if self.api_version == "cloud" or self.cloud:
|
|
892
|
+
return {}
|
|
893
|
+
url = "rpc/json-rpc/confluenceservice-v2"
|
|
894
|
+
data = {
|
|
895
|
+
"jsonrpc": "2.0",
|
|
896
|
+
"method": "setContentPermissions",
|
|
897
|
+
"id": 9,
|
|
898
|
+
"params": [page_id, permission_type, content_permissions],
|
|
899
|
+
}
|
|
900
|
+
return self.post(url, data=data).get("result") or {}
|
|
901
|
+
|
|
902
|
+
def get_users_from_restricts_in_page_by_type(self, page_id: str, restriction_type: Literal["View", "Edit"]):
|
|
903
|
+
page_name = self.get_page_by_id(page_id=page_id)["title"]
|
|
904
|
+
restrictions_in_page = self.get_all_restrictions_from_page_json_rpc(page_id=page_id)
|
|
905
|
+
try:
|
|
906
|
+
if len(restrictions_in_page) > 0:
|
|
907
|
+
for restriction_type_in_page in restrictions_in_page:
|
|
908
|
+
if dict(restriction_type_in_page).get("type") == restriction_type:
|
|
909
|
+
users = dict(restriction_type_in_page).get("contentPermissions")
|
|
910
|
+
return users
|
|
911
|
+
else:
|
|
912
|
+
raise JsonRPCRestrictionsError(
|
|
913
|
+
f'On page "{page_name}" has no restrictions type of "{restriction_type}"'
|
|
914
|
+
)
|
|
915
|
+
except JsonRPCError:
|
|
916
|
+
raise
|
|
917
|
+
|
|
918
|
+
def create_restricts_from_from_user(self, user_name: str, restriction_type: Literal["View", "Edit"]):
|
|
919
|
+
content = {"type": restriction_type, "userName": user_name, "groupName": None}
|
|
920
|
+
|
|
921
|
+
return content
|
|
922
|
+
|
|
923
|
+
def add_user_in_restricted_page(self, user_name: str, page_id: str, restriction_type: Literal["View", "Edit"]):
|
|
924
|
+
page_name = self.get_page_by_id(page_id=page_id).get("title")
|
|
925
|
+
user_find_view_bool = False
|
|
926
|
+
user_find_edit_bool = False
|
|
927
|
+
users_content_view: list = self.get_users_from_restricts_in_page_by_type(
|
|
928
|
+
page_id=page_id, restriction_type="View"
|
|
929
|
+
)
|
|
930
|
+
users_content_edit: list = self.get_users_from_restricts_in_page_by_type(
|
|
931
|
+
page_id=page_id, restriction_type="Edit"
|
|
932
|
+
)
|
|
933
|
+
current_user_content_view: dict = self.create_restricts_from_from_user(
|
|
934
|
+
user_name=user_name, restriction_type="View"
|
|
935
|
+
)
|
|
936
|
+
current_user_content_edit: dict = self.create_restricts_from_from_user(
|
|
937
|
+
user_name=user_name, restriction_type="Edit"
|
|
938
|
+
)
|
|
939
|
+
try:
|
|
940
|
+
if None not in [users_content_view, users_content_edit]:
|
|
941
|
+
if users_content_view is not None:
|
|
942
|
+
for user in users_content_view:
|
|
943
|
+
if dict(user).get("userName") == current_user_content_view.get("userName"):
|
|
944
|
+
user_find_view_bool = True
|
|
945
|
+
if users_content_edit is not None:
|
|
946
|
+
for user in users_content_edit:
|
|
947
|
+
if dict(user).get("userName") == current_user_content_edit.get("userName"):
|
|
948
|
+
user_find_edit_bool = True
|
|
949
|
+
if restriction_type == "View":
|
|
950
|
+
if user_find_view_bool is False:
|
|
951
|
+
current_user_content = self.create_restricts_from_from_user(
|
|
952
|
+
user_name=user_name, restriction_type=restriction_type
|
|
953
|
+
)
|
|
954
|
+
users_content_view.append(current_user_content)
|
|
955
|
+
self.update_restrictions_for_page_json_rpc(
|
|
956
|
+
page_id=page_id,
|
|
957
|
+
permission_type=restriction_type,
|
|
958
|
+
content_permissions=users_content_view,
|
|
959
|
+
)
|
|
960
|
+
elif user_find_view_bool:
|
|
961
|
+
raise JsonRPCRestrictionsError(
|
|
962
|
+
f'User "{user_name}" already have restrictions type of "{restriction_type}" on page "{page_name}"'
|
|
963
|
+
)
|
|
964
|
+
elif restriction_type == "Edit":
|
|
965
|
+
if not user_find_edit_bool:
|
|
966
|
+
current_user_content_view = self.create_restricts_from_from_user(
|
|
967
|
+
user_name=user_name, restriction_type="View"
|
|
968
|
+
)
|
|
969
|
+
current_user_content_edit = self.create_restricts_from_from_user(
|
|
970
|
+
user_name=user_name, restriction_type=restriction_type
|
|
971
|
+
)
|
|
972
|
+
users_content_view.append(current_user_content_view)
|
|
973
|
+
users_content_edit.append(current_user_content_edit)
|
|
974
|
+
self.update_restrictions_for_page_json_rpc(
|
|
975
|
+
page_id=page_id, permission_type="View", content_permissions=users_content_view
|
|
976
|
+
)
|
|
977
|
+
self.update_restrictions_for_page_json_rpc(
|
|
978
|
+
page_id=page_id, permission_type=restriction_type, content_permissions=users_content_edit
|
|
979
|
+
)
|
|
980
|
+
print(
|
|
981
|
+
f'User "{user_name}" granted restrictions type of "{restriction_type}" on page "{page_name}"'
|
|
982
|
+
)
|
|
983
|
+
elif user_find_edit_bool:
|
|
984
|
+
raise JsonRPCRestrictionsError(
|
|
985
|
+
f'User "{user_name}" already have restrictions type of "{restriction_type}" on page "{page_name}"'
|
|
986
|
+
)
|
|
987
|
+
except JsonRPCError:
|
|
988
|
+
raise
|
|
989
|
+
|
|
990
|
+
def remove_user_from_restricted_page(self, user_name: str, page_id: str):
|
|
991
|
+
page_name = self.get_page_by_id(page_id=page_id).get("title")
|
|
992
|
+
user_find_bool = False
|
|
993
|
+
users_content_view: list = self.get_users_from_restricts_in_page_by_type(
|
|
994
|
+
page_id=page_id, restriction_type="View"
|
|
995
|
+
)
|
|
996
|
+
users_content_edit: list = self.get_users_from_restricts_in_page_by_type(
|
|
997
|
+
page_id=page_id, restriction_type="Edit"
|
|
998
|
+
)
|
|
999
|
+
current_user_content_view = self.create_restricts_from_from_user(user_name=user_name, restriction_type="View")
|
|
1000
|
+
current_user_content_edit = self.create_restricts_from_from_user(user_name=user_name, restriction_type="Edit")
|
|
1001
|
+
for user_index, user_value in enumerate(users_content_view):
|
|
1002
|
+
if dict(user_value).get("userName") == current_user_content_view.get("userName"):
|
|
1003
|
+
user_find_bool = True
|
|
1004
|
+
users_content_view.pop(user_index)
|
|
1005
|
+
for user_index, user_value in enumerate(users_content_edit):
|
|
1006
|
+
if dict(user_value).get("userName") == current_user_content_edit.get("userName"):
|
|
1007
|
+
user_find_bool = True
|
|
1008
|
+
users_content_edit.pop(user_index)
|
|
1009
|
+
try:
|
|
1010
|
+
if user_find_bool:
|
|
1011
|
+
self.update_restrictions_for_page_json_rpc(
|
|
1012
|
+
page_id=page_id, permission_type="View", content_permissions=users_content_view
|
|
1013
|
+
)
|
|
1014
|
+
self.update_restrictions_for_page_json_rpc(
|
|
1015
|
+
page_id=page_id, permission_type="Edit", content_permissions=users_content_edit
|
|
1016
|
+
)
|
|
1017
|
+
print(f'User "{user_name}" has been deleted from restrictions on page "{page_name}"')
|
|
1018
|
+
elif not user_find_bool:
|
|
1019
|
+
raise JsonRPCRestrictionsError(
|
|
1020
|
+
f'User "{user_name}" has not founded in restrictions on page "{page_name}"'
|
|
1021
|
+
)
|
|
1022
|
+
except JsonRPCError:
|
|
1023
|
+
raise
|
|
1024
|
+
|
|
863
1025
|
def remove_page_from_trash(self, page_id):
|
|
864
1026
|
"""
|
|
865
1027
|
This method removes a page from trash
|
|
@@ -1570,6 +1732,15 @@ class Confluence(AtlassianRestAPI):
|
|
|
1570
1732
|
file_obj = io.BytesIO(response)
|
|
1571
1733
|
downloaded_files[file_name] = file_obj
|
|
1572
1734
|
else:
|
|
1735
|
+
# Sanitize filename if needed
|
|
1736
|
+
if re.search(r'[<>:"/\\|?*\x00-\x1F]', file_name):
|
|
1737
|
+
sanitized = re.sub(r'[<>:"/\\|?*\x00-\x1F]', "_", file_name)
|
|
1738
|
+
warnings.warn(
|
|
1739
|
+
f"File name '{file_name}' contained invalid characters and was renamed to '{sanitized}'.",
|
|
1740
|
+
UserWarning,
|
|
1741
|
+
)
|
|
1742
|
+
file_name = sanitized
|
|
1743
|
+
file_path = os.path.join(path, file_name)
|
|
1573
1744
|
# Save file to disk
|
|
1574
1745
|
file_path = os.path.join(path, file_name)
|
|
1575
1746
|
with open(file_path, "wb") as file:
|
|
@@ -3689,6 +3860,24 @@ class Confluence(AtlassianRestAPI):
|
|
|
3689
3860
|
|
|
3690
3861
|
return self.post(url, data=data, headers=self.experimental_headers)
|
|
3691
3862
|
|
|
3863
|
+
def add_space_permission_json_rpc(self, space_key, user, permission):
|
|
3864
|
+
"""
|
|
3865
|
+
The JSON-RPC APIs for Confluence are provided here to help you browse and discover APIs you have access to.
|
|
3866
|
+
JSON-RPC APIs operate differently than REST APIs.
|
|
3867
|
+
To learn more about how to use these APIs,
|
|
3868
|
+
please refer to the Confluence JSON-RPC documentation on Atlassian Developers.
|
|
3869
|
+
"""
|
|
3870
|
+
if self.api_version == "cloud" or self.cloud:
|
|
3871
|
+
return {}
|
|
3872
|
+
url = "rpc/json-rpc/confluenceservice-v2"
|
|
3873
|
+
data = {
|
|
3874
|
+
"jsonrpc": "2.0",
|
|
3875
|
+
"method": "addPermissionToSpace",
|
|
3876
|
+
"id": 9,
|
|
3877
|
+
"params": [permission, user, space_key],
|
|
3878
|
+
}
|
|
3879
|
+
return self.post(url, data=data).get("result") or {}
|
|
3880
|
+
|
|
3692
3881
|
def remove_space_permission(self, space_key, user, permission):
|
|
3693
3882
|
"""
|
|
3694
3883
|
The JSON-RPC APIs for Confluence are provided here to help you browse and discover APIs you have access to.
|
|
@@ -7,6 +7,11 @@ class ApiError(Exception):
|
|
|
7
7
|
super(ApiError, self).__init__(*args)
|
|
8
8
|
|
|
9
9
|
|
|
10
|
+
class JsonRPCError(Exception):
|
|
11
|
+
def __init__(self, *args):
|
|
12
|
+
super(JsonRPCError, self).__init__(*args)
|
|
13
|
+
|
|
14
|
+
|
|
10
15
|
class ApiNotFoundError(ApiError):
|
|
11
16
|
pass
|
|
12
17
|
|
|
@@ -25,3 +30,7 @@ class ApiConflictError(ApiError):
|
|
|
25
30
|
|
|
26
31
|
class ApiNotAcceptable(ApiError):
|
|
27
32
|
pass
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
class JsonRPCRestrictionsError(JsonRPCError):
|
|
36
|
+
pass
|
|
@@ -7,8 +7,12 @@ from warnings import warn
|
|
|
7
7
|
|
|
8
8
|
from deprecated import deprecated
|
|
9
9
|
from requests import HTTPError, Response
|
|
10
|
-
|
|
10
|
+
import sys
|
|
11
11
|
|
|
12
|
+
if sys.version_info >= (3, 8):
|
|
13
|
+
from typing import Literal # Python 3.8+
|
|
14
|
+
else:
|
|
15
|
+
from typing_extensions import Literal # Python <=3.7
|
|
12
16
|
from .errors import ApiNotFoundError, ApiPermissionError
|
|
13
17
|
from .rest_client import AtlassianRestAPI
|
|
14
18
|
from .typehints import T_id, T_resp_json
|
|
@@ -2058,6 +2062,16 @@ class Jira(AtlassianRestAPI):
|
|
|
2058
2062
|
url = f"{base_url}/{issue_key}/transitions"
|
|
2059
2063
|
return self.post(url, data={"transition": {"id": transition_id}})
|
|
2060
2064
|
|
|
2065
|
+
def set_issue_status_by_transition_name(self, issue_key: str, transition_name: str):
|
|
2066
|
+
"""
|
|
2067
|
+
Setting status by transition_name
|
|
2068
|
+
:param issue_key: str
|
|
2069
|
+
:param transition_name: str
|
|
2070
|
+
"""
|
|
2071
|
+
base_url = self.resource_url("issue")
|
|
2072
|
+
url = f"{base_url}/{issue_key}/transitions"
|
|
2073
|
+
return self.post(url, data={"transition": {"name": transition_name}})
|
|
2074
|
+
|
|
2061
2075
|
def get_issue_status(self, issue_key: str):
|
|
2062
2076
|
base_url = self.resource_url("issue")
|
|
2063
2077
|
url = f"{base_url}/{issue_key}?fields=status"
|
|
@@ -5792,3 +5806,18 @@ api-group-workflows/#api-rest-api-2-workflow-search-get)
|
|
|
5792
5806
|
"""
|
|
5793
5807
|
response = self.get("rest/api/2/user/duplicated/count")
|
|
5794
5808
|
return response
|
|
5809
|
+
|
|
5810
|
+
def dark_feature_management(self, key: str, enable: bool = True) -> T_resp_json:
|
|
5811
|
+
"""
|
|
5812
|
+
Dark Feature Management
|
|
5813
|
+
https://confluence.atlassian.com/jirakb/dark-feature-management-1063554355.html
|
|
5814
|
+
https://confluence.atlassian.com/jirakb/how-to-manage-dark-features-in-jira-server-and-data-center-959286331.html
|
|
5815
|
+
i.e. sd.sla.improved.rendering.enabled
|
|
5816
|
+
:return:
|
|
5817
|
+
"""
|
|
5818
|
+
if enable:
|
|
5819
|
+
data = {"enabled": "true"}
|
|
5820
|
+
else:
|
|
5821
|
+
data = {"enabled": "false"}
|
|
5822
|
+
response = self.put(f"/rest/internal/1.0/darkFeatures/{key}", data=data)
|
|
5823
|
+
return response
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
+
|
|
2
3
|
import logging
|
|
3
4
|
import random
|
|
4
5
|
import time
|
|
@@ -13,11 +14,15 @@ from typing import (
|
|
|
13
14
|
overload,
|
|
14
15
|
)
|
|
15
16
|
from urllib.parse import urlencode
|
|
16
|
-
|
|
17
|
+
import sys
|
|
17
18
|
import requests
|
|
18
19
|
import urllib3
|
|
19
20
|
from requests.adapters import HTTPAdapter
|
|
20
|
-
|
|
21
|
+
|
|
22
|
+
if sys.version_info >= (3, 8):
|
|
23
|
+
from typing import Literal # Python 3.8+
|
|
24
|
+
else:
|
|
25
|
+
from typing_extensions import Literal # Python <=3.7
|
|
21
26
|
|
|
22
27
|
from atlassian.typehints import T_resp_json
|
|
23
28
|
|
|
@@ -78,7 +83,7 @@ class AtlassianRestAPI(object):
|
|
|
78
83
|
api_root: str = "rest/api",
|
|
79
84
|
api_version: Union[str, int] = "latest",
|
|
80
85
|
verify_ssl: bool = True,
|
|
81
|
-
session: Optional[requests.Session] =
|
|
86
|
+
session: Optional[requests.Session] = requests.Session(),
|
|
82
87
|
oauth: Optional[dict] = None,
|
|
83
88
|
oauth2: Optional[dict] = None,
|
|
84
89
|
cookies: Optional[CookieJar] = None,
|
{atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5/atlassian_python_api.egg-info}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: atlassian-python-api
|
|
3
|
-
Version: 4.0.
|
|
3
|
+
Version: 4.0.5
|
|
4
4
|
Summary: Python Atlassian REST API Wrapper
|
|
5
5
|
Home-page: https://github.com/atlassian-api/atlassian-python-api
|
|
6
6
|
Download-URL: https://github.com/atlassian-api/atlassian-python-api
|
|
@@ -8,7 +8,7 @@ Author: Matt Harasymczuk
|
|
|
8
8
|
Author-email: matt@astrotech.io
|
|
9
9
|
Maintainer: Gonchik Tsymzhitov
|
|
10
10
|
Maintainer-email: gonchik.tsymzhitov@gmail.com
|
|
11
|
-
License: Apache
|
|
11
|
+
License: Apache-2.0
|
|
12
12
|
Keywords: atlassian jira core software confluence bitbucket bamboo crowd portfolio tempo servicedesk assets api
|
|
13
13
|
Platform: Platform Independent
|
|
14
14
|
Classifier: Development Status :: 4 - Beta
|
|
@@ -82,7 +82,7 @@ and is compatible with both Atlassian Server and Cloud instances.
|
|
|
82
82
|
|
|
83
83
|
Overall, the **atlassian-python-api** is a useful tool for Python developers who want to work with Atlassian products.
|
|
84
84
|
It is well-documented and actively maintained, and provides a convenient way to access the full range of
|
|
85
|
-
functionality offered by the Atlassian REST APIs.
|
|
85
|
+
functionality offered by the Atlassian REST APIs and made with love for Atlassian.
|
|
86
86
|
|
|
87
87
|
|
|
88
88
|
Documentation
|
{atlassian_python_api-4.0.4 → atlassian_python_api-4.0.5}/atlassian_python_api.egg-info/SOURCES.txt
RENAMED
|
@@ -11,7 +11,6 @@ atlassian/__init__.py
|
|
|
11
11
|
atlassian/assets.py
|
|
12
12
|
atlassian/bamboo.py
|
|
13
13
|
atlassian/cloud_admin.py
|
|
14
|
-
atlassian/confluence.py
|
|
15
14
|
atlassian/crowd.py
|
|
16
15
|
atlassian/errors.py
|
|
17
16
|
atlassian/insight.py
|
|
@@ -40,6 +39,7 @@ atlassian/bitbucket/cloud/repositories/commits.py
|
|
|
40
39
|
atlassian/bitbucket/cloud/repositories/defaultReviewers.py
|
|
41
40
|
atlassian/bitbucket/cloud/repositories/deploymentEnvironments.py
|
|
42
41
|
atlassian/bitbucket/cloud/repositories/diffstat.py
|
|
42
|
+
atlassian/bitbucket/cloud/repositories/downloads.py
|
|
43
43
|
atlassian/bitbucket/cloud/repositories/groupPermissions.py
|
|
44
44
|
atlassian/bitbucket/cloud/repositories/hooks.py
|
|
45
45
|
atlassian/bitbucket/cloud/repositories/issues.py
|
|
@@ -58,6 +58,7 @@ atlassian/bitbucket/server/common/__init__.py
|
|
|
58
58
|
atlassian/bitbucket/server/common/permissions.py
|
|
59
59
|
atlassian/bitbucket/server/projects/__init__.py
|
|
60
60
|
atlassian/bitbucket/server/projects/repos/__init__.py
|
|
61
|
+
atlassian/confluence/__init__.py
|
|
61
62
|
atlassian_python_api.egg-info/PKG-INFO
|
|
62
63
|
atlassian_python_api.egg-info/SOURCES.txt
|
|
63
64
|
atlassian_python_api.egg-info/dependency_links.txt
|
|
@@ -13,7 +13,7 @@ setup(
|
|
|
13
13
|
name="atlassian-python-api",
|
|
14
14
|
description="Python Atlassian REST API Wrapper",
|
|
15
15
|
long_description=long_description,
|
|
16
|
-
license="Apache
|
|
16
|
+
license="Apache-2.0",
|
|
17
17
|
version=version,
|
|
18
18
|
download_url="https://github.com/atlassian-api/atlassian-python-api",
|
|
19
19
|
author="Matt Harasymczuk",
|