Skip to content

Commit 1426289

Browse files
xiangyan99scbeddPetermarcuyunhaolingkristapratico
authored
Get latest master (#9441)
* Index Creation Bugfixes (#9334) * porting updates for azure-mgmt-web namespaces. updating index creation script to include replace relative links. small updates to package json. updating documentation landing page with appropriate link text and location. * updating 404ing reference to cspack tool, resolving 404ing link to powershell cmdlet, removing pymodule index from index, remove links to some standard sphinx constructs that won't stick around anymore, override reference to 404ing roboto-slab font. * Run Tox Test Environments in Parallel (#9034) * take advantage of improvements to tox-monorepo, plumb through tox environments in parallel * update tox.ini to only use `envtmpdir` instead of `distdir` for temp work. * disabling coverage in sdist environment * cogservices textanalytics uses core * changing the whl to use envtmpdir * replacing dev_requirements during CI build. this should mitigate CI failures due to parallelization of install during tox runs * ignoring the .tox directory to stop pytest discovery errors during collection * Update issue templates (#9353) Add issue and feature templates, mirroring the pattern used in Azure JS SDKs. * [EventHubs] Sample, Doc, Test improvement (#9349) * revert back and improve comments * remove livetest mark for tests which are not livetest * update docstring and readme * readme and sample improvement * update migration guide * minor update on history * review update * small fix of samples * [textanalytics] update history.md (#9368) * update history for TA preview release * add note to track1 * formatting * add contributing for readme (#9369) * Remove enter and exit from async context managers (#9313) * Adding testutils to defined packages within azure-common (#9365) * adding testutils to defined packages within azure-common * moving testutils out of azure-common and into azure-sdk-tools * updated version and changelog (#9373) * [textanalytics] Add azure-ai-nspkg to artifacts in ci.yml (#9371) * update ci.yml to include nspkg * newline * add setup.cfg to nspkg * readme tweaks and fix innererror code returned * clean up temp file after run (#9356) * clean up temp file after run * use tempfile * Fix certs readme (#9370) * Improve DefaultAzureCredential docstring and error message (#9376) * Categorize Text Analytics (#9377) * categorize textanalytics * Manually generate iothub (#9378) * multi-api package * history and version * Packaging update of azure-mgmt-iothub * rerecorded tests Co-authored-by: Azure SDK Bot <adxpysdk@microsoft.com> * Restapi auto databoxedge/resource manager (#9367) * [AutoPR databoxedge/resource-manager] chore: jsonfmt databoxedge (#7361) * Generated from 8b79ae248e5093f824f1c3c0df81a20a3b3cd4de chore: jsonfmt databoxedge * Packaging update of azure-mgmt-databoxedge * [AutoPR databoxedge/resource-manager] Add new version of API with object store, sku selection and arm lite user (#8735) * Generated from b9b42fd9797234b52ae3f05f93711067560d2544 Fixed comments on Sku API * Generated from b502551c6a94008e85be6c3a666f7f3edfc2b67f Removed unused property * Generated from b288943f733062a70176e972eeb92e46c85fa6a1 "Changed operationId for skus API" * databoxedge generated multi-api * history and version * Packaging update of azure-mgmt-databoxedge * added pipeline Co-authored-by: Azure SDK Bot <adxpysdk@microsoft.com> * [EventHubs] Comment, Test Updates (#9366) * update docstring * await task to prevent potential seg fault * review update * PM review update * review update * review update * minor improvement * minor improvement * Generated from 1998d0a6549d02cceed76351dbbbfc131382fa80 (#9382) Adding all files, examples (removed the readonly from encryption services for table and queue) * [AutoPR storagesync/resource-manager] Microsoft.StorageSync 2019-06-01 API version (#7846) * Generated from a2749eec38ba462433316a22161df798373732f2 Updates API version in new specs and examples * Generated from 565b2bebd47ef8fc6b4eba421fe5cc863d15e062 Update StorageSync 2019-06-01 protocol with cloud tiering and recall status (#7161) * introduce cloud tiering and recall status * fix validation errors * Additional validation fixes * Packaging update of azure-mgmt-storagesync * Packaging update of azure-mgmt-storagesync * history and version Co-authored-by: Zim Kalinowski <zikalino@microsoft.com> * history and version (#9383) * history and version * Packaging update of azure-mgmt-storage Co-authored-by: Azure SDK Bot <adxpysdk@microsoft.com> * [textanalytics] add azure/__init__.py to manifest.in for nspkg (#9380) * add azure/__init__ to manifest.in for nspkg * edit nspkg setup * revert nspkg changes * Add tracing_attributes to tracing decorator (#9297) * Add tracing_attributes to tracing decorator * Add tests * Fix request_id tests * Add attribute tests for tracing decorator * Blackened * Improve tests * Change tracing_attributes to kwargs * Generated from 5c7e7c408cb77bf5896658ba9556cf9d841d6dae (#9189) fixing build failure for go sdk * corrected container registry + history and version (#9392) * corrected container registry + history and version * Packaging update of azure-mgmt-containerregistry Co-authored-by: Azure SDK Bot <adxpysdk@microsoft.com> * Update README.md * Restore eventhub dependency tentatively to b6 (#9384) * Generated from 2b995fff1a9984825fad215fcb4e317af1a20bf5 (#9237) Update netapp.json * Generated from 4bc9f1d4e2d95c6b43e61e59740aae7a79241e3d (#9391) add the required property on inputschemamapping * [AutoPR cognitiveservices/data-plane/*] Updating several cognitive services (#3649) * Generated from cf8d4b7ee4befc39b377d86669411e557618edf4 Add cognitiveservices\data-plane\NewsSearch\readme.typescript.md * Packaging update of azure-cognitiveservices-search-newssearch * Packaging update of azure-cognitiveservices-search-newssearch * Packaging update of azure-cognitiveservices-language-spellcheck * regeneared search services * Packaging update of azure-cognitiveservices-search-autosuggest * Packaging update of azure-cognitiveservices-search-videosearch * Packaging update of azure-cognitiveservices-search-websearch * Packaging update of azure-cognitiveservices-search-entitysearch * Packaging update of azure-cognitiveservices-search-customimagesearch * Packaging update of azure-cognitiveservices-search-customsearch * fixed test * updated history and version * removed change made by accident? * spacing * additional test fixes * try to fix test * fix test again * skipping spell test check * import unittest * skipping tests Co-authored-by: Azure Builder <1087595+azuresdkci@users.noreply.github.com> Co-authored-by: Zim Kalinowski <zikalino@microsoft.com> * [Event Hubs] Eventhubs update sample and docs (#9407) * Update release date * Add starting_position to receive samples * Add starting_position to code snippet * Add starting_position to some code snippet * Docstring update * Fix pylint error of docstring * Update docstring, comment from review * Netapp history and version (#9413) * history and version * test * Packaging update of azure-mgmt-netapp * Update HISTORY.rst * Update HISTORY.rst Co-authored-by: Azure SDK Bot <adxpysdk@microsoft.com> * eventgrid - history and version (#9414) * history and version * Packaging update of azure-mgmt-eventgrid * Update HISTORY.rst * Update HISTORY.rst Co-authored-by: Azure SDK Bot <adxpysdk@microsoft.com> * [Event Hubs] Update checkpoint store dependency on eventhubs to 5.0.0 for release (#9423) * Small changes on README (#9431) * remove parallel spinner for tox logs. allow eventhub to run in serial (#9428) * Expose methods for closing async credential transport sessions (#9090) * update changelog and release date (#9436) * OpenTelemetry plugin (#7703) * Introducing change_context to replace set_current_span * OpenTelemetry plugin:first pass * Plug OpenTelemetry in azure-core * Restore proper settings and tracing tests in azure-core * Create HttpSpanMixin * Need opentelemetry-sdk for testing * WIP core test * Use stable azure-core * Support Python 3.8 * OT Readme * Do not include YAML * Dependency update * Update dep * Add decorator tests in azure-core * Remove OpenCensus specific tests * Remove useless OpenCensus tests * OT testing * Versionning * Fix Link for OT * Fix setup.py * pylint * Dependency work * pylint * Need Python 3.x at least * Remove diff with master * Remove core changes * Feedback * Clarify tests * Update azure-identity history and version (#9437) * OpenCensus plugin 1.0.0b5 (#9425) * OpenCensus plugin 1.0.0b5 * Update HISTORY.md * update version number to 1.2.0 (#9440) Co-authored-by: Scott Beddall <45376673+scbedd@users.noreply.github.com> Co-authored-by: Peter Marcu <Peter.Marcu@Microsoft.com> Co-authored-by: Adam Ling (MSFT) <47871814+yunhaoling@users.noreply.github.com> Co-authored-by: Krista Pratico <krpratic@microsoft.com> Co-authored-by: Charles Lowell <chlowe@microsoft.com> Co-authored-by: iscai-msft <43154838+iscai-msft@users.noreply.github.com> Co-authored-by: Zim Kalinowski <zikalino@microsoft.com> Co-authored-by: Azure SDK Bot <adxpysdk@microsoft.com> Co-authored-by: openapi-sdkautomation[bot] <37845953+openapi-sdkautomation[bot]@users.noreply.github.com> Co-authored-by: Laurent Mazuel <lmazuel@microsoft.com> Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com> Co-authored-by: Yijun Xie <48257664+YijunXieMS@users.noreply.github.com> Co-authored-by: Azure Builder <1087595+azuresdkci@users.noreply.github.com>
1 parent 1c200c7 commit 1426289

937 files changed

Lines changed: 87441 additions & 50415 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
- **Package Name**:
11+
- **Package Version**:
12+
- **Operating System**:
13+
- **Python Version**:
14+
15+
**Describe the bug**
16+
A clear and concise description of what the bug is.
17+
18+
**To Reproduce**
19+
Steps to reproduce the behavior:
20+
1.
21+
22+
**Expected behavior**
23+
A clear and concise description of what you expected to happen.
24+
25+
**Screenshots**
26+
If applicable, add screenshots to help explain your problem.
27+
28+
**Additional context**
29+
Add any other context about the problem here.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![Packages](https://img.shields.io/badge/packages-latest-blue.svg)](https://azure.github.io/azure-sdk/releases/latest/python.html) [![Dependencies](https://img.shields.io/badge/dependencies-analyzed-blue.svg)](https://azuresdkartifacts.blob.core.windows.net/azure-sdk-for-python/dependencies/dependencies.html) [![Python](https://img.shields.io/pypi/pyversions/azure-core.svg?maxAge=2592000)](https://pypi.python.org/pypi/azure/) [![Build Status](https://dev.azure.com/azure-sdk/public/_apis/build/status/python/python%20-%20core%20-%20ci?branchName=master)](https://dev.azure.com/azure-sdk/public/_build/latest?definitionId=458&branchName=master)
44

5-
This repository is intended for active development of the Azure SDK for Python. For consumers of the SDK we recommend visiting our [public developer docs](https://docs.microsoft.com/en-us/python/azure/) or our versioned [developer docs](https://azure.github.io/azure-sdk-for-python).
5+
This repository is for active development of the Azure SDK for Python. For consumers of the SDK we recommend visiting our [public developer docs](https://docs.microsoft.com/en-us/python/azure/) or our versioned [developer docs](https://azure.github.io/azure-sdk-for-python).
66

77
## Getting started
88

doc/sphinx/_static/css/default_overrides.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,11 @@
1616

1717
.wy-nav-content-wrap {
1818
margin-left: 380px;
19+
}
20+
21+
@font-face{
22+
font-family:"Roboto Slab";
23+
font-style:normal;
24+
font-weight:400;
25+
src:url("../fonts/RobotoSlab/roboto-slab-v7-regular.eot?#iefix") format("embedded-opentype"),url("../fonts/RobotoSlab/roboto-slab-v7-regular.woff2") format("woff2"),url("../fonts/RobotoSlab/roboto-slab-v7-regular.woff") format("woff"),url("../fonts/RobotoSlab/roboto-slab-v7-regular.ttf") format("truetype")
1926
}

doc/sphinx/generate_doc.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ def make_title(title):
7070
# Update the code to compute this list automatically
7171
MULTIAPI_VERSION_NAMESPACE = [
7272
"azure.mgmt.storage",
73+
"azure.mgmt.web",
7374
"azure.mgmt.network",
7475
"azure.mgmt.compute",
7576
"azure.mgmt.containerregistry",

doc/sphinx/generate_versioned_index.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def write_toc_tree(categorized_menu_items):
155155

156156

157157
def get_categorized_menu_items(package_names):
158-
categorized_menu_items = {}
158+
categorized_menu_items = {"Other": {"Client":[], "Management":[], "Other": []}}
159159

160160
for pkg in package_names:
161161
# add to the categorized menu items

doc/sphinx/index.rst

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Azure SDK for Python
33
====================
44

5-
.. important:: The most part of this documentation has moved to https://docs.microsoft.com/python/azure
5+
.. important:: You can find all of the Python on Azure documentation at https://docs.microsoft.com/python/azure
66

77
The Azure SDK for Python is a set of libraries which allow you to work on Azure for your management, runtime or data needs.
88

@@ -59,14 +59,6 @@ If you encounter any bugs with the library please file an issue in the
5959
`Issues <https://github.com/Azure/azure-sdk-for-python/issues>`__
6060
section of the project.
6161

62-
63-
Indices and tables
64-
------------------
65-
66-
* :ref:`genindex`
67-
* :ref:`modindex`
68-
* :ref:`search`
69-
7062
.. toctree::
7163
:glob:
7264
:caption: User Documentation

doc/sphinx/package_service_mapping.json

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -811,11 +811,16 @@
811811
"azure-mgmt-web": {
812812
"category": "Management",
813813
"namespaces": [
814-
"azure.mgmt.web"
814+
"azure.mgmt.web.v2015_04_01",
815+
"azure.mgmt.web.v2015_08_01",
816+
"azure.mgmt.web.v2016_03_01",
817+
"azure.mgmt.web.v2016_08_01",
818+
"azure.mgmt.web.v2016_09_01",
819+
"azure.mgmt.web.v2018_02_01",
820+
"azure.mgmt.web.v2018_11_01"
815821
],
816822
"service_name": "Web Apps"
817823
},
818-
819824
"azure-servicebus": {
820825
"category": "Client",
821826
"service_name": "Service Bus",
@@ -866,6 +871,11 @@
866871
"service_name": "Keyvault",
867872
"manually_generated": true
868873
},
874+
"azure-ai-textanalytics": {
875+
"category": "Client",
876+
"service_name": "Text Analytics",
877+
"manually_generated": true
878+
},
869879
"azure-storage-blob": {
870880
"category": "Client",
871881
"service_name": "Storage",
@@ -991,7 +1001,7 @@
9911001
},
9921002
"azure-mgmt-storagesync": {
9931003
"category": "Management",
994-
"service_name": "Storage",
1004+
"service_name": "Storage Sync",
9951005
"namespaces": [
9961006
"azure.mgmt.storagesync"
9971007
]

doc/sphinx/servicemanagement.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,9 @@ To make a new deployment to Azure you must store the package file in a
116116
Microsoft Azure Blob Storage account under the same subscription as the
117117
hosted service to which the package is being uploaded. You can create a
118118
deployment package with the `Microsoft Azure PowerShell
119-
cmdlets <https://www.windowsazure.com/en-us/develop/php/how-to-guides/powershell-cmdlets/>`__,
119+
cmdlets <https://docs.microsoft.com/en-us/powershell/azure/?view=azps-3.2.0>`__,
120120
or with the `cspack commandline
121-
tool <http://msdn.microsoft.com/en-us/library/gg432988.aspx>`__.
121+
tool <https://docs.microsoft.com/en-us/azure/cloud-services/cloud-services-model-and-package#servicepackagecspkg>`__.
122122

123123
.. code:: python
124124

eng/pipelines/create-doc-index.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,17 @@ jobs:
2727
inputs:
2828
versionSpec: $(PythonVersion)
2929

30+
- template: eng/pipelines/templates/scripts/replace-relative-links.yml@azure-sdk-tools
31+
parameters:
32+
TargetFolder: '.'
33+
RootFolder: '.'
34+
BuildSHA: $(Build.SourceVersion)
35+
RepoId: 'Azure/azure-sdk-for-python'
36+
3037
- pwsh: |
3138
pip install -r $(Build.SourcesDirectory)/doc/sphinx/requirements.txt
3239
python $(Build.SourcesDirectory)/doc/sphinx/generate_versioned_index.py
33-
mkdir $(Build.ArtifactStagingDirectory)
40+
sphinx-build -b html -c $(Build.SourcesDirectory)/doc/sphinx $(Build.SourcesDirectory)/_docs $(Build.SourcesDirectory)/_docs/html
3441
Copy-Item -Path $(Build.SourcesDirectory)/_docs/html/* -Destination $(Build.ArtifactStagingDirectory) -Recurse -Force
3542
displayName: 'Generate Documentation Index'
3643

0 commit comments

Comments
 (0)