Skip to content

Commit

Permalink
Revert "small edits to lease client docs (#7550)" (#7631)
Browse files Browse the repository at this point in the history
This reverts commit ed20b58.
  • Loading branch information
bryevdv authored Oct 4, 2019
1 parent 9a527ff commit 62774eb
Show file tree
Hide file tree
Showing 187 changed files with 8,874 additions and 76,657 deletions.
8 changes: 0 additions & 8 deletions doc/sphinx/ref/azure.core.pipeline.policies.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,6 @@ azure.core.pipeline.policies.custom\_hook module
:undoc-members:
:show-inheritance:

azure.core.pipeline.policies.distributed\_tracing module
--------------------------------------------------------

.. automodule:: azure.core.pipeline.policies.distributed_tracing
:members:
:undoc-members:
:show-inheritance:

azure.core.pipeline.policies.redirect module
--------------------------------------------

Expand Down
9 changes: 0 additions & 9 deletions doc/sphinx/ref/azure.core.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ Subpackages

azure.core.pipeline
azure.core.polling
azure.core.tracing

Submodules
----------
Expand Down Expand Up @@ -53,14 +52,6 @@ azure.core.exceptions module
:undoc-members:
:show-inheritance:

azure.core.match\_conditions module
-----------------------------------

.. automodule:: azure.core.match_conditions
:members:
:undoc-members:
:show-inheritance:

azure.core.paging module
------------------------

Expand Down
22 changes: 0 additions & 22 deletions doc/sphinx/ref/azure.core.tracing.ext.rst

This file was deleted.

53 changes: 0 additions & 53 deletions doc/sphinx/ref/azure.core.tracing.rst

This file was deleted.

8 changes: 0 additions & 8 deletions eng/pipelines/templates/stages/cosmos-sdk-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,3 @@ stages:
PythonVersion: $(PythonVersion)
OSName: $(OSName)
ToxTestEnv: 'whl,sdist'

# The Prerelease and Release stages are conditioned on whether we are building a pull request and the branch.
- ${{if and(ne(variables['Build.Reason'], 'PullRequest'), eq(variables['System.TeamProject'], 'internal'))}}:
- template: pipelines/stages/archetype-python-release.yml@azure-sdk-build-tools
parameters:
DependsOn: Build
Artifacts: ${{parameters.Artifacts}}
ArtifactName: packages
30 changes: 9 additions & 21 deletions sdk/appconfiguration/ci.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,13 @@
# DO NOT EDIT THIS FILE
# This file is generated automatically and any changes will be lost.

resources:
repositories:
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure
- repository: azure-sdk-build-tools
type: git
name: internal/azure-sdk-build-tools

trigger:
branches:
include:
- master
- feature/*
- hotfix/*
- release/*
- restapi*
paths:
include:
- sdk/appconfiguration/
- sdk/core/

pr:
branches:
Expand All @@ -35,12 +20,15 @@ pr:
paths:
include:
- sdk/appconfiguration/
- sdk/core/

stages:
- template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
resources:
repositories:
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure

jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml
parameters:
ServiceDirectory: appconfiguration
Artifacts:
- name: azure_appconfiguration
safeName: azureappconfiguration
12 changes: 0 additions & 12 deletions sdk/cosmos/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,14 @@ resources:
type: github
name: Azure/azure-sdk-tools
endpoint: azure
- repository: azure-sdk-build-tools
type: git
name: internal/azure-sdk-build-tools

trigger:
branches:
include:
- master
- feature/*
- hotfix/*
- release/*
- restapi*
paths:
include:
- sdk/cosmos/
- sdk/core/

pr:
branches:
Expand All @@ -35,12 +27,8 @@ pr:
paths:
include:
- sdk/cosmos/
- sdk/core/

stages:
- template: ../../eng/pipelines/templates/stages/cosmos-sdk-client.yml
parameters:
ServiceDirectory: cosmos
Artifacts:
- name: azure_cosmos
safeName: azurecosmos
32 changes: 10 additions & 22 deletions sdk/eventhub/ci.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,10 @@
# DO NOT EDIT THIS FILE
# This file is generated automatically and any changes will be lost.

resources:
repositories:
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure
- repository: azure-sdk-build-tools
type: git
name: internal/azure-sdk-build-tools

trigger:
branches:
include:
- master
- feature/*
- hotfix/*
- release/*
- restapi*
paths:
include:
- sdk/eventhub/
Expand All @@ -37,12 +23,14 @@ pr:
- sdk/eventhub/
- sdk/core/

stages:
- template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
resources:
repositories:
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure

jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml
parameters:
ServiceDirectory: eventhub
Artifacts:
- name: azure_eventhubs
safeName: azureeventhubs
- name: azure_eventhubs_checkpointstoreblob-aio
safeName: azureeventhubscheckpointstoreblobaio
ServiceDirectory: eventhub
30 changes: 10 additions & 20 deletions sdk/identity/ci.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,10 @@
# DO NOT EDIT THIS FILE
# This file is generated automatically and any changes will be lost.

resources:
repositories:
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure
- repository: azure-sdk-build-tools
type: git
name: internal/azure-sdk-build-tools

trigger:
branches:
include:
- master
- feature/*
- hotfix/*
- release/*
- restapi*
paths:
include:
- sdk/identity/
Expand All @@ -37,10 +23,14 @@ pr:
- sdk/identity/
- sdk/core/

stages:
- template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
resources:
repositories:
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure

jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml
parameters:
ServiceDirectory: identity
Artifacts:
- name: azure_identity
safeName: azureidentity
ServiceDirectory: identity
6 changes: 0 additions & 6 deletions sdk/keyvault/azure-keyvault-keys/HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
# Release History

## 4.0.0b4
### Breaking changes:
- Enums 'JsonWebKeyCurveName', 'JsonWebKeyOperation', and 'JsonWebKeyType' have
been renamed to 'KeyCurveName', 'KeyOperation', and 'KeyType', respectively.

### Fixes and improvements:
- The `key` argument to `import_key` should be an instance of `azure.keyvault.keys.JsonWebKey`
([#7590](https://github.com/Azure/azure-sdk-for-python/pull/7590))


## 4.0.0b3 (2019-09-11)
### Breaking changes:
- `CryptographyClient` methods `wrap` and `unwrap` are renamed `wrap_key` and
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@
# -------------------------------------
from .client import KeyClient
from .enums import KeyCurveName, KeyOperation, KeyType
from .models import JsonWebKey

__all__ = ["JsonWebKey", "KeyCurveName", "KeyOperation", "KeyType", "KeyClient"]
__all__ = ["KeyCurveName", "KeyOperation", "KeyType", "KeyClient"]
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,6 @@ async def import_key(
else:
attributes = None
bundle = await self._client.import_key(
self.vault_url, name, key=key._to_generated_model(), hsm=hsm, key_attributes=attributes, tags=tags, **kwargs
self.vault_url, name, key=key, hsm=hsm, key_attributes=attributes, tags=tags, **kwargs
)
return Key._from_key_bundle(bundle)
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
from typing import Any, Dict, List, Optional, Union
from datetime import datetime
from azure.core.paging import ItemPaged
from .models import JsonWebKey


class KeyClient(KeyVaultClientBase):
Expand Down Expand Up @@ -531,7 +530,7 @@ def restore_key(self, backup, **kwargs):
def import_key(
self,
name, # type: str
key, # type: JsonWebKey
key, # type: List[str]
hsm=None, # type: Optional[bool]
enabled=None, # type: Optional[bool]
not_before=None, # type: Optional[datetime]
Expand Down Expand Up @@ -561,6 +560,6 @@ def import_key(
else:
attributes = None
bundle = self._client.import_key(
self.vault_url, name, key=key._to_generated_model(), hsm=hsm, key_attributes=attributes, tags=tags, **kwargs
self.vault_url, name, key=key, hsm=hsm, key_attributes=attributes, tags=tags, **kwargs
)
return Key._from_key_bundle(bundle)
Loading

0 comments on commit 62774eb

Please sign in to comment.