Skip to content

[Table] Initializing sdk, samples and tests #11987

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

Closed
wants to merge 344 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
344 commits
Select commit Hold shift + click to select a range
872c3a5
running tests
LibbaLawrence Jun 29, 2020
1934a81
fixing nonetype error trial one
LibbaLawrence Jun 29, 2020
54e06a3
fixing models
LibbaLawrence Jun 29, 2020
fded937
fixing pylint
LibbaLawrence Jun 29, 2020
a049675
trying to redmodel tableservices
LibbaLawrence Jun 29, 2020
c951e9d
trying to redmodel tableservices
LibbaLawrence Jun 29, 2020
9c6ef04
attempt to fix NoneType errr
LibbaLawrence Jun 29, 2020
3a9d22b
trying NoneType part 2
LibbaLawrence Jun 29, 2020
e94f33c
fixing NoneType
LibbaLawrence Jun 29, 2020
87a7cc4
fixed pylint
LibbaLawrence Jun 29, 2020
fb00beb
fixed Nonetype call
LibbaLawrence Jun 29, 2020
b4b7a93
all auth forms working correctly :)
LibbaLawrence Jun 30, 2020
8787b78
fixed single quote test
LibbaLawrence Jun 30, 2020
499c719
fixed insert to create
LibbaLawrence Jun 30, 2020
a163f5b
got test_table_client working
LibbaLawrence Jun 30, 2020
b5b4f6b
passing custom user tests
LibbaLawrence Jun 30, 2020
53fc32d
remvoing encryption changes
LibbaLawrence Jun 30, 2020
5eee947
initializing async clients
LibbaLawrence Jun 30, 2020
6d0ecb7
created __init__ for async TableService and TableClient
LibbaLawrence Jun 30, 2020
65d54d9
creating table client async methods
LibbaLawrence Jul 1, 2020
352b675
list quques working
LibbaLawrence Jul 1, 2020
4e3d51a
assertEqual to assertIn on usercustom tests
LibbaLawrence Jul 1, 2020
b6e99e2
assewrtIn for table_client test
LibbaLawrence Jul 1, 2020
6c73647
prelim async service client created
LibbaLawrence Jul 1, 2020
6eb97ff
changed to EntityProperties when deserialized
LibbaLawrence Jul 2, 2020
333476b
made changes (Krista) to SDK
LibbaLawrence Jul 2, 2020
791dbc6
ran service tests
LibbaLawrence Jul 2, 2020
cd1ba13
updated design of update and upsert methods
LibbaLawrence Jul 2, 2020
b4f53fe
fixed upsert/update
LibbaLawrence Jul 2, 2020
6acf215
reflected change to create_entity
LibbaLawrence Jul 2, 2020
afa22af
fixed problems with upsert function
LibbaLawrence Jul 2, 2020
5f88fa6
fixed upsert/update functions on async clients
LibbaLawrence Jul 2, 2020
776baa6
pausing on tests
LibbaLawrence Jul 2, 2020
21db1c6
fixed test failing on HttpResponse
LibbaLawrence Jul 2, 2020
1f6fb8c
fixing 2.7 errorZ
LibbaLawrence Jul 2, 2020
f97c6bb
trying to fix 2.7
LibbaLawrence Jul 2, 2020
58312c5
fixed tests
LibbaLawrence Jul 2, 2020
ad90b6e
removed problem with unbpund fucntion
LibbaLawrence Jul 2, 2020
8f58a13
track 1 async sdk
LibbaLawrence Jul 6, 2020
41e4c30
renamed aio to _aio
LibbaLawrence Jul 6, 2020
fef6a1a
updating comments
LibbaLawrence Jul 6, 2020
661e64e
tweaking comments and types for stub gen
LibbaLawrence Jul 6, 2020
0e153ea
fixed pylint issue
LibbaLawrence Jul 6, 2020
be808aa
fixed list_tables to query_tables
LibbaLawrence Jul 7, 2020
07f4a18
pylint errors
LibbaLawrence Jul 7, 2020
7527deb
fixing type errors
LibbaLawrence Jul 7, 2020
172a8d3
updating samples
LibbaLawrence Jul 7, 2020
a1a5bb6
fixing comments
LibbaLawrence Jul 7, 2020
fb37769
updating README
LibbaLawrence Jul 7, 2020
07481da
fixing PR comments on keyword and credential
LibbaLawrence Jul 7, 2020
685ce54
editing order of docstrings
LibbaLawrence Jul 7, 2020
7aef14c
fixing queue comments
LibbaLawrence Jul 7, 2020
a4cc685
fixing queue comments
LibbaLawrence Jul 7, 2020
0da6cb7
delete table has no return response
LibbaLawrence Jul 7, 2020
a3232e9
changing types to model types
LibbaLawrence Jul 7, 2020
b743848
added keys to dictionary
LibbaLawrence Jul 7, 2020
ac2891c
changing types to model types
LibbaLawrence Jul 7, 2020
db6d180
fixed stroage reference
LibbaLawrence Jul 7, 2020
c59d427
fixing docstring reutrn
LibbaLawrence Jul 7, 2020
ed06ec0
fixed cathc and raise same error
LibbaLawrence Jul 7, 2020
9d737a2
UpdateMode in init
LibbaLawrence Jul 7, 2020
bb8a47e
obj to _
LibbaLawrence Jul 7, 2020
514d733
fixing comments
LibbaLawrence Jul 7, 2020
8fb7513
fixed metadata return
LibbaLawrence Jul 7, 2020
aca49d2
fixed comments
LibbaLawrence Jul 7, 2020
3ce7dd0
fixing test error
LibbaLawrence Jul 7, 2020
8779648
fixed depedncies
LibbaLawrence Jul 7, 2020
cedd37d
fixing type
LibbaLawrence Jul 7, 2020
954902a
fixing stubgen error
LibbaLawrence Jul 7, 2020
7987bd0
changed to ivar
LibbaLawrence Jul 7, 2020
73d7c10
fixing type error
LibbaLawrence Jul 8, 2020
4763812
editing samples/ fixing pylint
LibbaLawrence Jul 8, 2020
ce5b6b9
reformatted service client sampels
LibbaLawrence Jul 8, 2020
cd1fe8e
added more official samples
LibbaLawrence Jul 8, 2020
554c48f
added in teh create and delete table in table client
LibbaLawrence Jul 8, 2020
04571c7
working on client samples
LibbaLawrence Jul 8, 2020
42b71f8
linked README to samples
LibbaLawrence Jul 8, 2020
e0f42ba
TODO for return types
LibbaLawrence Jul 8, 2020
482ac07
changed query entity to get entity
LibbaLawrence Jul 8, 2020
e4fcf39
edited README
LibbaLawrence Jul 8, 2020
16127fa
made UpdateMode into an enum
LibbaLawrence Jul 8, 2020
e7580c0
changed return type of cont token to dict
LibbaLawrence Jul 8, 2020
946965c
fixed readme common uses
LibbaLawrence Jul 8, 2020
2e9abe6
todos created
LibbaLawrence Jul 8, 2020
60420f0
fixed continuation token to a dictionary
LibbaLawrence Jul 9, 2020
d8babbd
fixed continuation error
LibbaLawrence Jul 9, 2020
cd42322
changed query to individual entries
LibbaLawrence Jul 9, 2020
b1d30c5
editing README pr comments
LibbaLawrence Jul 9, 2020
ecddf4d
removed AAD from readme
LibbaLawrence Jul 9, 2020
3fe73b0
removed TODO
LibbaLawrence Jul 9, 2020
7e356d6
getting rid of exposed secret
LibbaLawrence Jul 9, 2020
e655a5c
added design updates to async client
LibbaLawrence Jul 10, 2020
930532d
stahs
LibbaLawrence Jul 10, 2020
daba27c
fixed import
LibbaLawrence Jul 10, 2020
a3a80fe
fixed init file
LibbaLawrence Jul 10, 2020
8bdf4da
fixed import
LibbaLawrence Jul 10, 2020
317123b
added todo for table
LibbaLawrence Jul 13, 2020
3710160
added return type
LibbaLawrence Jul 14, 2020
2ef1ae1
editing table client return
LibbaLawrence Jul 14, 2020
47e5e8a
changed table name for table standards (Sean fix)
LibbaLawrence Jul 14, 2020
b1a6259
editing sas methods
LibbaLawrence Jul 14, 2020
a666f9e
work in progress - fixing pre api review comments
LibbaLawrence Jul 14, 2020
da62e6b
updated tests to work with fixes
LibbaLawrence Jul 14, 2020
bf52e40
re-running tests for verification'
LibbaLawrence Jul 14, 2020
c15672d
fixed small errors with changing method names
LibbaLawrence Jul 15, 2020
80fa9d1
fixed storgae_process_error -> table instead of storage, created meta…
LibbaLawrence Jul 15, 2020
74e860f
made metadata for entities separate from entity itself (see _entity.py)
LibbaLawrence Jul 15, 2020
46dcd22
updated readme and added regex check for table names on TableClient a…
seankane-msft Jul 15, 2020
a20532e
oops forgot to import re in the _table_client.py
seankane-msft Jul 15, 2020
dc67a98
metadata test passing
LibbaLawrence Jul 15, 2020
28f3fa4
fixed unimported entity
LibbaLawrence Jul 15, 2020
b97a649
added user defined filter option with parameters
LibbaLawrence Jul 15, 2020
c58032c
added user defined filter option with parameters
LibbaLawrence Jul 15, 2020
59e2408
changed the regex test to match to fit with python2
seankane-msft Jul 15, 2020
c1d9e25
fixed linting issues thrown by pylint
seankane-msft Jul 15, 2020
91622db
re-ran test
LibbaLawrence Jul 16, 2020
47c7d4b
updating samples part 1
LibbaLawrence Jul 16, 2020
e2e19f6
updating asserts part 2
LibbaLawrence Jul 16, 2020
8f4cc97
removing references to common
LibbaLawrence Jul 16, 2020
c7ff4b0
fixing sas on sample
LibbaLawrence Jul 16, 2020
78e9fa5
fixing import statement
LibbaLawrence Jul 16, 2020
500a6e2
attempting to fix dateutil error
LibbaLawrence Jul 16, 2020
f546351
trying to fix enum in entity property
LibbaLawrence Jul 16, 2020
31b68ee
fix #2 dateutil
LibbaLawrence Jul 16, 2020
e987dcf
attempting to fix dateutil error
LibbaLawrence Jul 16, 2020
30be2be
fixing test import
LibbaLawrence Jul 16, 2020
1f8e970
remove unuse import
LibbaLawrence Jul 16, 2020
c3399c0
added tests for table_client and table_service_client
seankane-msft Jul 16, 2020
19f5936
adding live recordings
seankane-msft Jul 16, 2020
9143b9d
Merge branch 'lilaw_table' of https://github.com/LibbaLawrence/azure-…
seankane-msft Jul 16, 2020
a799d47
fix #2 dateutil
LibbaLawrence Jul 16, 2020
18a57e7
updated dev_requirements, changed test name
seankane-msft Jul 16, 2020
a84bda3
py 2.7 doesnt have timezone - siwtch to UTC
LibbaLawrence Jul 16, 2020
8c79977
reverting back to libbas recordings
seankane-msft Jul 16, 2020
bff0099
reverting to using tzutc -- for now
LibbaLawrence Jul 17, 2020
22d6014
updating samples a little with error printing
LibbaLawrence Jul 17, 2020
4e46dca
replicated tzutc class with class Timezone
LibbaLawrence Jul 17, 2020
2b77e60
forgot to create table twice for error
LibbaLawrence Jul 17, 2020
3e04e54
changed regex to fxn in _error.py, added second assertion to tests, u…
seankane-msft Jul 17, 2020
af9d329
updating samples to reflect sdk part 1
LibbaLawrence Jul 17, 2020
76b25e3
commented out cryptogrpahy from encryption test
LibbaLawrence Jul 17, 2020
adb71c2
removed commented out code and changed the invalid table name
seankane-msft Jul 17, 2020
eec3a0c
updating docstrings
LibbaLawrence Jul 17, 2020
f53c793
'commented out references to cryptography
LibbaLawrence Jul 17, 2020
44009bf
commented out pylint errors related to encryption
LibbaLawrence Jul 17, 2020
5b24a15
updated delete entity to show etag
LibbaLawrence Jul 17, 2020
a6a7442
still finding encryption
LibbaLawrence Jul 17, 2020
d5413b0
removed list froma round itempaged
LibbaLawrence Jul 17, 2020
a60c5cd
commenting out test
LibbaLawrence Jul 17, 2020
12a5df3
Merge pull request #8 from seankane-msft/clarify-readme
seankane-msft Jul 17, 2020
6b0fbe1
commented out tests
LibbaLawrence Jul 17, 2020
4d5444c
fixed enum on edmtype
LibbaLawrence Jul 17, 2020
2fb43e2
updated update entity
LibbaLawrence Jul 20, 2020
3e25c1b
fixing apiview comments on sas
LibbaLawrence Jul 20, 2020
fd536b1
added table name to table clinet
LibbaLawrence Jul 20, 2020
27ac825
changing ItemPaged to ItemPaged[str[
LibbaLawrence Jul 20, 2020
8205d80
changing properties to private
LibbaLawrence Jul 20, 2020
776f85f
changes form apiview archboard pre meeting
LibbaLawrence Jul 20, 2020
9de490a
added filter type
LibbaLawrence Jul 20, 2020
05db919
TODO on from_string in SAS, fixed error in table querying ItemPaged r…
LibbaLawrence Jul 21, 2020
3b48674
changed name to _primary_hostname not primay_hopstname
LibbaLawrence Jul 21, 2020
a55d112
oops missed the other hostname
LibbaLawrence Jul 21, 2020
d13d9a5
oops missed the other other hostname
LibbaLawrence Jul 21, 2020
c7767cc
added a client base for tableclient and tableserviceclient, passes al…
seankane-msft Jul 21, 2020
5fab19c
fixed TODO on sas
LibbaLawrence Jul 21, 2020
24e640d
changes to satisfy linter
seankane-msft Jul 21, 2020
cdeb4a4
tweaking delete
LibbaLawrence Jul 21, 2020
0824c5d
moved account parsing to the base class, fixed more linting issues
seankane-msft Jul 21, 2020
5b57238
resolved comments
seankane-msft Jul 21, 2020
7c6640f
Merge pull request #9 from seankane-msft/base-table-client
seankane-msft Jul 21, 2020
9f47e1d
Merge branch 'lilaw_async' of https://github.com/LibbaLawrence/azure-…
seankane-msft Jul 21, 2020
4737ff6
updating samples
LibbaLawrence Jul 21, 2020
0966566
updating updatemode
LibbaLawrence Jul 21, 2020
8ac26b6
updating UpdateMode
LibbaLawrence Jul 21, 2020
80cbe26
Merge branch 'lilaw_table' of https://github.com/LibbaLawrence/azure-…
LibbaLawrence Jul 21, 2020
c8d2333
importing typing for union
LibbaLawrence Jul 21, 2020
430c699
initial commit for diff
seankane-msft Jul 21, 2020
f6802aa
Merge branch 'lilaw_table' of https://github.com/LibbaLawrence/azure-…
seankane-msft Jul 21, 2020
eb6f3f6
change to REPLACE'
LibbaLawrence Jul 21, 2020
7eabb9f
initial commit for pulling down current async status, ran a tests liv…
seankane-msft Jul 22, 2020
871788a
renamed entity tableentity
LibbaLawrence Jul 22, 2020
063abd2
allowed select to be array or str
LibbaLawrence Jul 22, 2020
85be966
made Table class
LibbaLawrence Jul 22, 2020
2b68bfb
renamed a new directory for azure-data-tables
LibbaLawrence Jul 22, 2020
7e72cd0
removing storgae reference
LibbaLawrence Jul 22, 2020
da032fc
changed query 'r' to read
LibbaLawrence Jul 22, 2020
bbf2df2
removing some commented out code
LibbaLawrence Jul 22, 2020
60f78f8
updating delete/create table comments
LibbaLawrence Jul 22, 2020
47f49c4
docstring return type for table
LibbaLawrence Jul 22, 2020
c3faee2
bullet point auth
LibbaLawrence Jul 22, 2020
5b2f443
base work for async models, working on passing last few tests, added …
seankane-msft Jul 22, 2020
7ed02cc
removing packages to exclude
LibbaLawrence Jul 22, 2020
e155515
fixing README
LibbaLawrence Jul 22, 2020
bf58264
adding to the blurb in the readme from the archboard pwpt
LibbaLawrence Jul 22, 2020
3b5f476
passing most async tests, issues with list_tables query_options curre…
seankane-msft Jul 22, 2020
2fe0a1b
fixing blank line
LibbaLawrence Jul 22, 2020
dff2bf7
making nspkg for data
LibbaLawrence Jul 22, 2020
9fd2098
removed async
LibbaLawrence Jul 22, 2020
674606a
changed to relative imports
LibbaLawrence Jul 22, 2020
12fd8de
:had to update naming
LibbaLawrence Jul 22, 2020
724c24d
stahs
LibbaLawrence Jul 22, 2020
9ebfd71
stahs
LibbaLawrence Jul 22, 2020
6cffbd0
had to fix list and query tables
LibbaLawrence Jul 22, 2020
6b16cdb
build mad about version
LibbaLawrence Jul 22, 2020
aec8585
changed version to match 1.0.0
LibbaLawrence Jul 22, 2020
ebc2d77
changed how results_per_page is passed in, need to verify with Libba …
seankane-msft Jul 22, 2020
32dbb11
forgot and init file - path was being skipped in build
LibbaLawrence Jul 23, 2020
72be007
changing list and query to align with new api view
seankane-msft Jul 23, 2020
728a4bd
passing the list_tables_with_num_results again
seankane-msft Jul 23, 2020
59a44f7
passes tests when run locally, does not pass in live-mode. the behavi…
seankane-msft Jul 23, 2020
49867a9
fixed test back
LibbaLawrence Jul 23, 2020
4327be0
hand to change query to list tables
LibbaLawrence Jul 23, 2020
841cbdd
temp fix on README error
LibbaLawrence Jul 23, 2020
db7246e
had to change msrest version
LibbaLawrence Jul 23, 2020
874dcb5
fixing pylint error
LibbaLawrence Jul 23, 2020
e6442f3
fixed all merge conflicts
seankane-msft Jul 23, 2020
ef06a44
Update README.md
LibbaLawrence Jul 23, 2020
12736e6
fixing more merge commits
seankane-msft Jul 23, 2020
de68693
ignorning nspkg readme
LibbaLawrence Jul 23, 2020
a3eeee4
Merge branch 'lilaw_table' of https://github.com/LibbaLawrence/azure-…
LibbaLawrence Jul 23, 2020
c9f36de
addressed Libbas comments
seankane-msft Jul 23, 2020
320a228
regenerated code
LibbaLawrence Jul 24, 2020
e95ea30
fixed Krista comments on readmes
LibbaLawrence Jul 24, 2020
086275c
fixing Krista comments
LibbaLawrence Jul 24, 2020
582fb26
fixed anna's changes
LibbaLawrence Jul 24, 2020
303a400
addressed all of izzys comments
seankane-msft Jul 24, 2020
3b64fa4
reran all tests and fixed a few bugs from pulling down
seankane-msft Jul 24, 2020
0f35848
removing unsued import
LibbaLawrence Jul 24, 2020
cf5db63
Merge pull request #10 from seankane-msft/async-tables-sean
LibbaLawrence Jul 24, 2020
aaf308e
fixing merge errors
LibbaLawrence Jul 24, 2020
5a4f784
fixing docstrings
LibbaLawrence Jul 24, 2020
0928b2a
fixewd docstring
LibbaLawrence Jul 24, 2020
70f564a
fixing docstrings
LibbaLawrence Jul 24, 2020
88f469b
fixing docs
LibbaLawrence Jul 24, 2020
8e5d2f7
verifying tests work:
LibbaLawrence Jul 24, 2020
0ec9e74
verifying tests'
LibbaLawrence Jul 24, 2020
a2dc16a
fixed sync for parameters
LibbaLawrence Jul 27, 2020
8f20ef8
fixed async clients parameters
LibbaLawrence Jul 27, 2020
83e0803
fixing error for mode
LibbaLawrence Jul 27, 2020
52293ac
fixing pylint errors
LibbaLawrence Jul 27, 2020
e0ff5fe
re running tests
LibbaLawrence Jul 27, 2020
95520f4
added more tests
LibbaLawrence Jul 27, 2020
56bec1e
fixing models for tests
LibbaLawrence Jul 27, 2020
5347710
fixed init
LibbaLawrence Jul 27, 2020
2b39a4f
had to fix fomratting of async docstring types
LibbaLawrence Jul 27, 2020
1ec8bcc
Merge pull request #11 from Azure/master
LibbaLawrence Jul 28, 2020
ea205b6
Merge branch 'lilaw_table' into master
LibbaLawrence Jul 28, 2020
9e2c8fa
Merge pull request #12 from LibbaLawrence/master
LibbaLawrence Jul 28, 2020
017bc37
removing json files and fixing merge conflict
LibbaLawrence Jul 28, 2020
41d287d
checking if revert fixed the build
LibbaLawrence Jul 28, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
61 changes: 7 additions & 54 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -9,84 +9,37 @@
/sdk/ @mayurid @lmazuel

# Core
# PRLabel: %Azure.Core
/sdk/core/ @lmazuel @xiangyan99 @johanste @rakshith91
/sdk/core/ @lmazuel @xiangyan99 @johanste
/sdk/core/azure-core/ @xiangyan99 @lmazuel

####
# Service team
####
# PRLabel: %Azure.Identity
/sdk/identity/ @chlowell @schaabs

# PRLabel: %Event Hubs
/sdk/eventhub/ @annatisch @yunhaoling @YijunXieMS

# PRLabel: %Storage
/sdk/storage/ @amishra-dev @zezha-msft @annatisch @rakshith91 @xiafu-msft

/sdk/applicationinsights/ @alexeldeib

# PRLabel: %Batch
/sdk/storage/ @amishra-dev @zezha-msft @annatisch @rakshith91 @xiafu-msft
/sdk/applicationinsights/ @alexeldeib
/sdk/batch/ @bgklein @xingwu1
/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/ @areddish

# PRLabel: %KeyVault
/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/ @areddish
/sdk/keyvault/ @schaabs @chlowell @iscai-msft

# PRLabel: %Monitor - LogAnalytics
/sdk/loganalytics/ @alexeldeib

# PRLabel: %Consumption
/sdk/consumption/ @sandeepnl

# PRLabel: %Container Instances
/sdk/containerinstance/ @samkreter @xizhamsft

# PRLabel: %Container Registry
/sdk/containerregistry/ @djyou
/sdk/containerservice/ @samkreter @zqingqing1 @GaneshaThirumurthi

# PRLabel: %Cosmos
/sdk/cosmos/ @southpolesteve @zfoster

# PRLabel: %Data Factory
/sdk/datafactory/ @hvermis
/sdk/datalake/ @ro-joowan
/sdk/datalake/ @ro-joowan
/sdk/datadatamigration/ @vchske

# PRLabel: %Event Grid
/sdk/eventgrid/ @kalyanaj

# PRLabel: %HDInsight
/sdk/hdinsight/ @idear1203

# PRLabel: %Machine Learning Compute
/sdk/machinelearningcompute/ @shutchings

# PRLabel: %Recovery Services
/sdk/recoveryservices/ @DheerendraRathor

# PRLabel: %Search
/sdk/search/ @xiangyan99 @rakshith91

# PRLabel: %Service Fabric
/sdk/search/ @xiangyan99
/sdk/servicefabric/ @QingChenmsft @samedder

# PRLabel: %SQL
/sql/sql/ @jaredmoo

# PRLabel: %Service Bus
/sdk/servicebus/ @annatisch @yunhaoling @YijunXieMS @KieranBrantnerMagee

# PRLabel: %Synapse
/sdk/synapse/ @aim-for-better @idear1203

# PRLabel: %Cognitive - Text Analytics
/sdk/textanalytics/ @kristapratico @iscai-msft

# PRLabel: %Cognitive - Form Recognizer
/sdk/formrecognizer/ @kristapratico @iscai-msft @rakshith91
/sdk/formrecognizer/ @kristapratico @iscai-msft

# Smoke Tests
/common/smoketest/ @lmazuel @chlowell @annatisch @rakshith91 @shurd @southpolesteve
Expand Down
20 changes: 5 additions & 15 deletions NOTICE.txt
Original file line number Diff line number Diff line change
@@ -1,17 +1,7 @@
NOTICES AND INFORMATION
Do Not Translate or Localize
This file list any third-party libraries or other resources that may be
distributed under licenses different than the Azure SDK for Python software.

This software incorporates material from third parties. Microsoft makes certain
open source code available at https://3rdpartysource.microsoft.com, or you may
send a check or money order for US $5.00, including the product name, the open
source component name, and version number, to:
In the event that we accidentally failed to list a required notice, please
bring it to our attention by opening an issue.

Source Code Compliance Team
Microsoft Corporation
One Microsoft Way
Redmond, WA 98052
USA

Notwithstanding any other terms, you may reverse engineer this software to the
extent required to debug changes to any libraries licensed under the GNU Lesser
General Public License.
The attached notices are provided for information only.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Management libraries can be identified by namespaces that start with `azure-mgmt
## Need help?

* For detailed documentation visit our [Azure SDK for Python documentation](https://aka.ms/python-docs)
* File an issue via [Github Issues](https://github.com/Azure/azure-sdk-for-python/issues)
* File an issue via [Github Issues](../../issues)
* Check [previous questions](https://stackoverflow.com/questions/tagged/azure+python) or ask new ones on StackOverflow using `azure` and `python` tags.

### Community
Expand Down
4 changes: 2 additions & 2 deletions doc/dev/mgmt/swagger/multi_api/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This is the AutoRest configuration file for Network.

## Getting Started

To build the SDK for Network, simply [Install AutoRest](https://github.com/Azure/autorest/blob/master/docs/installing-autorest.md) and in this folder, run:
To build the SDK for Network, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run:

> `autorest`

Expand Down Expand Up @@ -66,4 +66,4 @@ swagger-to-sdk:

## Python

See configuration in [readme.python.md](https://github.com/Azure/azure-sdk-for-python/blob/master/doc/dev/mgmt/swagger/multi_api/readme.python.md)
See configuration in [readme.python.md](./readme.python.md)
2 changes: 1 addition & 1 deletion doc/dev/mgmt/swagger/single_api/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This is the AutoRest configuration file for Cdn.

---
## Getting Started
To build the SDK for Cdn, simply [Install AutoRest](https://github.com/Azure/autorest/blob/master/docs/installing-autorest.md) and in this folder, run:
To build the SDK for Cdn, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run:

> `autorest`

Expand Down
20 changes: 10 additions & 10 deletions doc/dev/mgmt/swagger_conf.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,38 +18,38 @@ Writing the readme is the responsibility of the Python SDK team. There is curren
- Readme that handles only one API version, and generates packages that handle one API version only
- Readme that handles several API versions, and generates packages with multiples API and profile supports

These templates can be found in the [single_api](https://github.com/Azure/azure-sdk-for-python/blob/master/doc/dev/mgmt/swagger/single_api) and the [multi_api](https://github.com/Azure/azure-sdk-for-python/blob/master/doc/dev/mgmt/swagger/multi_api) folders.
These templates can be found in the [single_api](./single_api) and the [multi_api](./multi_api) folders.


### Single API readmes

This one is the most simple:
- Copy the [readme.python.md](https://github.com/Azure/azure-sdk-for-python/blob/master/doc/dev/mgmt/swagger/single_api/readme.python.md) and replace `servicetoreplace` by your service name
- Be sure the main [readme.md](https://github.com/Azure/azure-sdk-for-python/blob/master/doc/dev/mgmt/swagger/single_api/readme.md) contains a "swagger-to-sdk" section with Python
- Copy the [readme.python.md](./single_api/readme.python.md) and replace `servicetoreplace` by your service name
- Be sure the main [readme.md](./single_api/readme.md) contains a "swagger-to-sdk" section with Python

### Multi API readmes

When doing multi-api packages, it means you have shipping several "tags" of the main readme as one package. Autorest is calling this process a "batch" call, and this is the purpose of the "batch" section in [readme.python.md](https://github.com/Azure/azure-sdk-for-python/blob/master/doc/dev/mgmt/swagger/multi_api/readme.python.md).
When doing multi-api packages, it means you have shipping several "tags" of the main readme as one package. Autorest is calling this process a "batch" call, and this is the purpose of the "batch" section in [readme.python.md](./multi_api/readme.python.md).

In order to be sure the correct tags exist, you can use the following script:
```shell
python ./scripts/multi_api_readme_help.py /azure-rest-api-specs/specification/service/resource-manager/
```

This script will analyze the Swaggers available, and suggests on stdout:
- A list of tags for the main [readme.md](https://github.com/Azure/azure-sdk-for-python/blob/master/doc/dev/mgmt/swagger/multi_api/readme.md)
- A batch declaration for the [readme.python.md](https://github.com/Azure/azure-sdk-for-python/blob/master/doc/dev/mgmt/swagger/multi_api/readme.python.md)
- A list of tags for the main [readme.md](./multi_api/readme.md)
- A batch declaration for the [readme.python.md](./multi_api/readme.python.md)

This script is not perfect that it *does* require manual review of the output and not a direct copy/paste.

It's important for Python that tags represents only *ONE* unique API version. It's why it's pretty common that Python uses a set of tags that other languages don't use.

Once you know the list of tags you need to generate:

- Copy the [readme.python.md](https://github.com/Azure/azure-sdk-for-python/blob/master/doc/dev/mgmt/swagger/multi_api/readme.python.md) and replace `servicetoreplace` by your service name
- Update the batch list of [readme.python.md](https://github.com/Azure/azure-sdk-for-python/blob/master/doc/dev/mgmt/swagger/multi_api/readme.python.md)
- Be sure you have one tag section for each batch entry in [readme.python.md](https://github.com/Azure/azure-sdk-for-python/blob/master/doc/dev/mgmt/swagger/multi_api/readme.python.md)
- Be sure the main [readme.md](https://github.com/Azure/azure-sdk-for-python/blob/master/doc/dev/mgmt/swagger/multi_api/readme.md) contains a "swagger-to-sdk" section with Python with an `afterscripts` section like the one in the template.
- Copy the [readme.python.md](./multi_api/readme.python.md) and replace `servicetoreplace` by your service name
- Update the batch list of [readme.python.md](./multi_api/readme.python.md)
- Be sure you have one tag section for each batch entry in [readme.python.md](./multi_api/readme.python.md)
- Be sure the main [readme.md](./multi_api/readme.md) contains a "swagger-to-sdk" section with Python with an `afterscripts` section like the one in the template.

The `afterscripts` will execute a Jinja template to create a client to link together all the batch generated autorest ([example](https://github.com/Azure/azure-sdk-for-python/blob/4a7c67189591b052fe2b5769847ff68f7845386d/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/_storage_management_client.py))

Expand Down
2 changes: 1 addition & 1 deletion doc/dev/mgmt/tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ providing several features useful for the SDK tests, for example:
* Patches for overriding functions and methods that don't work well with tests
(such as long-running operations)

Code in the [`azure-sdk-tools/devtools_testutils`](https://github.com/Azure/azure-sdk-for-python/tree/master/tools/azure-sdk-tools/devtools_testutils) directory
Code in the [`azure-sdk-tools/devtools_testutils`](tools/azure-sdk-tools/devtools_testutils) directory
provides concrete implementations of the features provided in `scenario_tests`
that are oriented around use in SDK testing
and that you can use directly in your unit tests.
Expand Down
5 changes: 0 additions & 5 deletions doc/sphinx/package_service_mapping.json
Original file line number Diff line number Diff line change
Expand Up @@ -901,11 +901,6 @@
"service_name": "Storage",
"manually_generated": true
},
"azure-storage-blob-changefeed": {
"category": "Client",
"service_name": "Storage",
"manually_generated": true
},
"azure-storage-file-share": {
"category": "Client",
"service_name": "Storage",
Expand Down
6 changes: 1 addition & 5 deletions eng/.docsettings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,6 @@ known_content_issues:
# data plane. common issue filed to azure-sdk-for-python
- ['README.rst', '#4554']
- ['sdk/synapse/azure-synapse/README.md', '#4554']
- ['sdk/synapse/azure-synapse-accesscontrol/README.md', '#4554']
- ['sdk/synapse/azure-synapse-spark/README.md', '#4554']
- ['sdk/synapse/azure-synapse-artifacts/README.md', '#4554']
- ['sdk/synapse/azure-synapse-nspkg/README.md', '#4554']
- ['sdk/applicationinsights/azure-applicationinsights/README.md', '#4554']
- ['sdk/batch/azure-batch/README.md', '#4554']
- ['sdk/cognitiveservices/azure-cognitiveservices-anomalydetector/README.md', '#4554']
Expand Down Expand Up @@ -114,11 +110,11 @@ known_content_issues:
- ['sdk/search/azure-search-nspkg/README.md', 'nspkg and common']
- ['sdk/storage/azure-storage-blob/samples/README.md', 'nspkg and common']
- ['sdk/storage/azure-storage-file-datalake/samples/README.md', 'nspkg and common']
- ['sdk/storage/azure-storage-blob-changefeed/samples/README.md', 'nspkg and common']
- ['sdk/storage/azure-storage-file-share/samples/README.md', 'nspkg and common']
- ['sdk/storage/azure-storage-queue/samples/README.md', 'nspkg and common']
- ['sdk/textanalytics/azure-ai-nspkg/README.md', 'nspkg and common']
- ['sdk/eventhub/azure-eventhub/samples/README.md', 'nspkg and common']
- ['sdk/tables/azure-data-nspkg/README.md', 'nspkg and common']

# HISTORY.rst
- ['sdk/core/azure/HISTORY.rst','#4554']
Expand Down
23 changes: 12 additions & 11 deletions eng/ci_tools.txt
Original file line number Diff line number Diff line change
@@ -1,35 +1,36 @@
# requirements leveraged by ci tools
setuptools==44.1.0; python_version == '2.7'
setuptools==46.4.0; python_version >= '3.5'
setuptools==45.1.0; python_version >= '3.5'
virtualenv==20.0.23
wheel==0.34.2
Jinja2==2.11.2
Jinja2==2.11.1
packaging==20.4
tox==3.15.0
tox==3.14.6
tox-monorepo==0.1.2
twine==1.15.0; python_version == '2.7' or python_version == '3.5'
twine==3.1.1; python_version >= '3.6'
twine==1.15.0
pathlib2==2.3.5
readme-renderer[md]==25.0
doc-warden==0.7.1
# we pin coverage to 4.5.4 because there is an bug with `pytest-cov`. the generated coverage files cannot be `coverage combine`ed
doc-warden==0.5.4
coverage==4.5.4
codecov==2.1.0
beautifulsoup4==4.9.1
codecov==2.0.22
beautifulsoup4==4.8.2
pkginfo==1.5.0.1

# locking packages defined as deps from azure-sdk-tools or azure-devtools
pytoml==0.1.21
pyOpenSSL==19.1.0
json-delta==2.0
ConfigArgParse==1.2.3
ConfigArgParse==1.1
six==1.14.0
vcrpy==3.0.0
pyyaml==5.3.1
pytest==5.4.2; python_version >= '3.5'
pytest==5.4.1; python_version >= '3.5'
pytest==4.6.9; python_version == '2.7'
pytest-cov==2.8.1

# local dev packages
./tools/azure-devtools
./tools/azure-sdk-tools



65 changes: 65 additions & 0 deletions eng/common/Extract-ReleaseNotes.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# given a CHANGELOG.md file, extract the relevant info we need to decorate a release
param (
[Parameter(Mandatory = $true)]
[String]$ChangeLogLocation,
[String]$VersionString
)

$ErrorActionPreference = 'Stop'

$RELEASE_TITLE_REGEX = "(?<releaseNoteTitle>^\#+.*(?<version>\b\d+\.\d+\.\d+([^0-9\s][^\s:]+)?))"

$releaseNotes = @{}
$contentArrays = @{}
if ($ChangeLogLocation.Length -eq 0)
{
return $releaseNotes
}

try
{
$contents = Get-Content $ChangeLogLocation

# walk the document, finding where the version specifiers are and creating lists
$version = ""
foreach($line in $contents){
if ($line -match $RELEASE_TITLE_REGEX)
{
$version = $matches["version"]
$contentArrays[$version] = @()
}

$contentArrays[$version] += $line
}

# resolve each of discovered version specifier string arrays into real content
foreach($key in $contentArrays.Keys)
{
$releaseNotes[$key] = New-Object PSObject -Property @{
ReleaseVersion = $key
ReleaseContent = $contentArrays[$key] -join [Environment]::NewLine
}
}
}
catch
{
Write-Host "Error parsing $ChangeLogLocation."
Write-Host $_.Exception.Message
}

if ([System.String]::IsNullOrEmpty($VersionString))
{
return $releaseNotes
}
else
{
if ($releaseNotes.ContainsKey($VersionString))
{
$releaseNotesForVersion = $releaseNotes[$VersionString].ReleaseContent
$processedNotes = $releaseNotesForVersion -Split [Environment]::NewLine | where { $_ -notmatch $RELEASE_TITLE_REGEX }
return $processedNotes -Join [Environment]::NewLine
}
Write-Error "Release Notes for the Specified version ${VersionString} was not found"
exit 1
}

17 changes: 0 additions & 17 deletions eng/common/TestResources/New-TestResources.ps1.md
Original file line number Diff line number Diff line change
Expand Up @@ -412,23 +412,6 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -OutFile
save test environment settings into a test-resources.json.env file next to test-resources.json.
The file is protected via DPAPI. The environment file would be scoped to the current repository directory.
Note: Supported only on Windows.

```yaml
Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).

Expand Down
6 changes: 0 additions & 6 deletions eng/common/TestResources/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,6 @@ eng\common\TestResources\New-TestResources.ps1 `
-TestApplicationSecret (ConvertFrom-SecureString $sp.Secret -AsPlainText)
```

If you are running this for a .NET project on Windows, the recommended method is to
add the `-OutFile` switch to the above command. This will save test environment settings
into a test-resources.json.env file next to test-resources.json. The file is protected via DPAPI.
The environment file would be scoped to the current repository directory and avoids the need to
set environment variables or restart your IDE to recognize them.

Along with some log messages, this will output environment variables based on
your current shell like in the following example:

Expand Down
Loading