Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
3950 commits
Select commit Hold shift + click to select a range
85b15e3
async changes (#34019)
simorenoh Feb 7, 2024
5f3184b
[Identity Broker] Minimum Python bump (#34186)
pvaneck Feb 7, 2024
24a5367
adjust healthcare test (#34206)
kristapratico Feb 7, 2024
75da6ac
Set `use_rcts` in `build_index` helper used by local index build. (#3…
tot0 Feb 7, 2024
955580a
Update test-resources.json (#34210)
shail2208 Feb 7, 2024
b6bfa06
add workspace rp swagger to 2024 restclient (#34178)
MilesHolland Feb 7, 2024
2a5c571
Add offline tests for azure core streaming (#33800)
HimanshuBarak Feb 7, 2024
3f4b1c9
Increment version for ai releases (#34201)
azure-sdk Feb 7, 2024
d4445ad
typing fixes. (#34208)
xiangyan99 Feb 7, 2024
147d853
[EG] jan sys events (#33731)
l0lawrence Feb 7, 2024
18ea98f
Increment package version after release of azure-monitor-opentelemetr…
azure-sdk Feb 7, 2024
096cdf1
[Cosmos] elevate kwargs for sync client (#34207)
simorenoh Feb 7, 2024
8360566
[Monitor Ingestion] Improve input validation/docs (#33976)
pvaneck Feb 7, 2024
95ad7b2
[Otel Plugin][CI] Add preliminary live test files. (#34115)
pvaneck Feb 7, 2024
537647b
Revert "cleanup duplicated code gen ai sdk (#34048)" (#34224)
luigiw Feb 8, 2024
da38772
Added Emulator CI and additional tests for Azure Cosmos SDK (#33363)
kushagraThapar Feb 8, 2024
1e03df0
Add missing headers to azure-attestation\README.md (#33981)
mwynne Feb 8, 2024
86bb315
fix typing (#34227)
xiangyan99 Feb 8, 2024
3a024ef
0b7 release (#34239)
luigiw Feb 8, 2024
81d03b4
allow 'null' to be a value for job tier (#34217)
TajiHarrisMicrosoft Feb 8, 2024
dbbae4e
Remove experimental flags from batch deployments (#34216)
TajiHarrisMicrosoft Feb 8, 2024
f3eafc9
Minor Image Analysis SDK update for beta.2 release (#34213)
dargilco Feb 8, 2024
936bf73
Include device.* attributes in part A fields (#34229)
lzchen Feb 8, 2024
6a3df96
[Monitor Query] Update metric batch client (#33958)
pvaneck Feb 8, 2024
88784c6
Pin azure/login action step to v1.5.1 (#34254)
azure-sdk Feb 8, 2024
4859b68
[Pylint] py_version and is_check_enabled edits (#33743)
l0lawrence Feb 9, 2024
d33b85b
Batch endpoint fix serialization error (#34205)
nemanjarajic Feb 9, 2024
6488c4d
Increment version for ai releases (#34251)
azure-sdk Feb 9, 2024
a13ae9d
update emitter-package.json (#34262)
swathipil Feb 9, 2024
38d569e
Add stress test arm/bicep template prefix to New-TestResources Resour…
azure-sdk Feb 9, 2024
fc23fc0
[EventHub] l0lawrence's fix import (#34269)
swathipil Feb 11, 2024
a1a68cc
marked non-offline tests as live only (#34247)
HimanshuBarak Feb 12, 2024
506bffb
Update distro dependencies + remove suppport for Python 3.7 (#34252)
lzchen Feb 12, 2024
3bc2067
[OTel plugin] Add new schema version (#34089)
pvaneck Feb 12, 2024
84f4f2e
update emitter version (#34284)
iscai-msft Feb 12, 2024
5e4e2ed
Add encodings folder to azure-ai-resources (#34228)
jingyizhu99 Feb 12, 2024
dec7f29
Add TeamsRecordingStateChange and TeamsComplianceRecordingStateChange…
amariwest-msft Feb 12, 2024
f550ec0
update setup py 3.12 (#34290)
swathipil Feb 12, 2024
2a132c3
additional 2/15 preview tests (#34183)
kristapratico Feb 12, 2024
5a69366
Users/anksing/bug bash bugs content safety (#34259)
singankit Feb 12, 2024
2d68ec7
Increment package version after release of azure-eventhub (#34293)
azure-sdk Feb 13, 2024
f13310d
Update aka.ms link of JPEG test image used in Image Analysis SDK test…
dargilco Feb 13, 2024
1b76ed3
Language lint/sphinx (#34263)
kristapratico Feb 13, 2024
05c30f0
[Cosmos] PermissionMode import (#34297)
annatisch Feb 13, 2024
d1ee4c9
Update next-pyright version (#34231)
kristapratico Feb 13, 2024
02d8be6
Adding source caller id to the answer call option (#34268)
v-dharmarajv Feb 13, 2024
e0fc7d1
[Identity] Check exit code for PowershellCredential (#34271)
pvaneck Feb 13, 2024
eb99246
Handle package-specific warning suppressions (#34289)
scbedd Feb 13, 2024
cc834d1
[Identity] Add multi-tenant live testing (#34257)
pvaneck Feb 13, 2024
9e51c82
update built-in evaluation flows in evaluation SDK (#34235)
qusongms Feb 13, 2024
0084206
[CI] Bump pyOpenSSL version used in testing (#34307)
pvaneck Feb 13, 2024
db6db5c
Increment package version after release of azure-ai-vision-imageanaly…
azure-sdk Feb 13, 2024
e8f0686
Fix case-sensitive spelling in scripts that get deployed to C++ repo …
azure-sdk Feb 14, 2024
ba70c6a
azure-communication-identity release updates (#34302)
mjafferi-msft Feb 14, 2024
e8b37e0
Connections changes (#34199)
MilesHolland Feb 14, 2024
efb8af2
assistant tests (#34030)
kristapratico Feb 14, 2024
4f81cb4
Move emitter-package.json scripts to eng/common (#34320)
azure-sdk Feb 14, 2024
71288ca
Acr in ai resource (#34287)
MilesHolland Feb 14, 2024
fc82782
[Key Vault] Support 7.5 API version in Secrets (#34230)
mccoyp Feb 14, 2024
fa3b6d1
[Key Vault] Support 7.5 API version in Certificates (#34187)
mccoyp Feb 14, 2024
83a23eb
Update SearchClient.get_answers docstring to clarify meaning (#34321)
pamelafox Feb 14, 2024
0cb2dec
App Configuration - Feature flag refresh (#33693)
mrm9084 Feb 14, 2024
f412402
[Key Vault] Support 7.5 API version in Administration (#34057)
mccoyp Feb 14, 2024
d7ed3e0
[Key Vault] Support 7.5 API version in Keys (#34233)
mccoyp Feb 14, 2024
30b8975
Retroactively add snapshot container change to changelog (#34332)
diondrapeck Feb 15, 2024
a810c3c
Add null value for job tier (#34333)
needuv Feb 15, 2024
c97bb56
Increment package version after release of azure-communication-identi…
azure-sdk Feb 15, 2024
e3c8657
Adding tests to capture groundedness with expected values (#34340)
singankit Feb 15, 2024
cac6852
[ServiceBus] Fix typing in tracing method (#34324)
pvaneck Feb 15, 2024
4b06b13
Add configuration for custom span processors (#34326)
lzchen Feb 15, 2024
2d2c0f0
Update CHANGELOG.md (#34342)
kristapratico Feb 15, 2024
e3c6bf9
Bring back "cleanup duplicated code gen ai sdk (#34048)" (#34319)
jingyizhu99 Feb 15, 2024
8b3a818
Project ARM template fixes. (#34318)
MilesHolland Feb 16, 2024
8266208
Fix pylint version 3.0.3 for exporter and distro (#34339)
lzchen Feb 16, 2024
3422f71
Update GitHubEventProcessorVersion (#34353)
azure-sdk Feb 16, 2024
86f19d9
Updates to tools for the CodeownersUtils updates (#34354)
azure-sdk Feb 16, 2024
208ea4b
[ServiceBus/EventHubs] change invalid link error to warning log (#34352)
swathipil Feb 16, 2024
1b2c59c
[OTel Plugin] Improve live test coverage (#34323)
pvaneck Feb 16, 2024
46ab212
[Opentelemetry] Fix link to renamed sample (#34357)
mccoyp Feb 17, 2024
7c98196
Support schedule trigger action (#33918)
brynn-code Feb 19, 2024
83a52c4
[AutoRelease] t2-containerservice-2024-02-20-24472(can only be merged…
azure-sdk Feb 20, 2024
d3dcf0d
Update SDK Version Prefix (#34226)
jeremydvoss Feb 21, 2024
ddbe1ed
[Key Vault] Remove `x509_thumbprint_string` property (#34386)
mccoyp Feb 21, 2024
3a27963
[ml][schedule][internal] Add to dict func for trigger result (#34392)
brynn-code Feb 21, 2024
5e0d888
Keep node level original source when update pipeline job. (#34379)
YingChen1996 Feb 21, 2024
ed0e056
fix error message (#34396)
kashifkhan Feb 21, 2024
a482344
Fix incorrect repo source link (#34388)
mccoyp Feb 21, 2024
b5c5845
Simulator update to current spec. (#34261)
kicha0 Feb 21, 2024
c18f7ec
[AI] Azure OpenAI Deployment CRUD (#34358)
needuv Feb 21, 2024
84012b6
Changed the parameter from max_count to limit (#34406)
nagkumar91 Feb 21, 2024
ef19493
[Key Vault] Handle `cryptography` RSA keys without local key material…
mccoyp Feb 21, 2024
2db6c1a
[AutoRelease] t2-network-2024-01-25-57447(can only be merged by SDK o…
azure-sdk Feb 22, 2024
51280f2
[AutoRelease] t2-servicefabricmanagedclusters-2024-01-31-31185(can on…
azure-sdk Feb 22, 2024
fd11a98
[AutoRelease] t2-recoveryservicessiterecovery-2024-02-08-49614(can on…
azure-sdk Feb 22, 2024
6169d2f
[AutoRelease] t2-servicefabric-2024-02-02-27725(can only be merged by…
azure-sdk Feb 22, 2024
2ed52ae
[AutoRelease] t2-astro-2024-02-06-54705(can only be merged by SDK own…
azure-sdk Feb 22, 2024
616e76a
[AutoRelease] t2-storagecache-2024-01-23-36234(can only be merged by …
azure-sdk Feb 22, 2024
7afd09d
code and test (#34411)
azure-sdk Feb 22, 2024
c48c02a
Fixing automl image segmentation test and increasing the gate timeout…
nvijayrania Feb 22, 2024
e480f75
[SB] Remove uAMQP Perf Runs (#33949)
kashifkhan Feb 22, 2024
da82787
RAG Stop Ignoring/Fix mypy Errors. (#34200)
clomeli-ms Feb 22, 2024
8b921c4
add pickling support (#34134)
xiangyan99 Feb 22, 2024
a1bb8fc
Fix links to open source licenses (#34420)
mccoyp Feb 22, 2024
7561277
[Key Vault] Prepare for data-plane library releases (#34409)
mccoyp Feb 22, 2024
757f877
Add `application.ver` to Part A fields for exporter (#34401)
lzchen Feb 22, 2024
143d2ff
[Corehttp] Add code snippets to docstrings (#33207)
pvaneck Feb 23, 2024
9cda4c0
[corehttp] Misc updates (#34394)
pvaneck Feb 23, 2024
56c346a
Add aks to statsbeat and prefix (#34427)
jeremydvoss Feb 23, 2024
34e3f1c
Feature Management Update Schema (#34421)
mrm9084 Feb 23, 2024
a4fb935
[ML] Increment version to 1.15.0 (#34437)
needuv Feb 23, 2024
c6876ec
[corehttp] use typeguard for HTTPPolicy/SansIOHTTPPolicy check not is…
swathipil Feb 23, 2024
3faad9c
accept float "retry-after" (#34253)
xiangyan99 Feb 23, 2024
b71fea7
Update github-event-processor version (#34438)
azure-sdk Feb 23, 2024
153e483
Re-route instance count to resource config for Model Batch Deployment…
nemanjarajic Feb 23, 2024
09d6ce8
in a previous build, we ensured that all requirements at rest are pro…
scbedd Feb 23, 2024
fc77045
add text-to-speech tests (#33791)
kristapratico Feb 23, 2024
2b5c8b2
modify qa evaluation flow (#34364)
qusongms Feb 23, 2024
bf472e2
[Storage] Expose `services` to be configurable for account SAS genera…
vincenttran-msft Feb 23, 2024
4694379
[Corehttp] Prepare changelog (#34439)
pvaneck Feb 23, 2024
3b099aa
move core perf files to azure-core folder (#34441)
swathipil Feb 24, 2024
be4fbbc
[Storage] Fix `get_paths` API typehint (#34442)
vincenttran-msft Feb 24, 2024
82584dc
fix mindependency error (#34434)
ChenxiJiang333 Feb 26, 2024
da72c6d
add serialization support (#34310)
xiangyan99 Feb 26, 2024
281c681
[ai] Improve reference documentation descriptions for azure-ai-resour…
diondrapeck Feb 26, 2024
c513809
update scope for redis (#34288)
xiangyan99 Feb 26, 2024
e92e4cb
[Identity][CI] Integration test setup adjustments (#34403)
pvaneck Feb 26, 2024
9bb50c2
Increment version for keyvault releases (#34432)
azure-sdk Feb 26, 2024
d91f4aa
Implement quickpulse exporting functionality (#34141)
lzchen Feb 26, 2024
2e524a8
FineTuning Job SDK changes. (#34436)
sagarsumant Feb 27, 2024
74d10a9
Update version of github-event-processor (#34471)
azure-sdk Feb 27, 2024
7c43327
Updates to tools for CodeownerUtils updates (#34472)
azure-sdk Feb 27, 2024
4521720
[EventHubs/ServiceBus] update network trace params to use empty strin…
swathipil Feb 27, 2024
fa4b95f
Updates with Api review Fixes (#34428)
bambriz Feb 27, 2024
cf1a2cb
[AI] test: Add support for recording requests from the `openai` packa…
kdestin Feb 27, 2024
c028477
Add EnforceMaxLifeOfIssues to event-processor.config set to Off (#34476)
JimSuplizio Feb 27, 2024
2ceab7c
Add metrics namespace opt-in (#34463)
lzchen Feb 27, 2024
a242171
Update exporter/distro README (#34462)
lzchen Feb 27, 2024
fe73f91
Allow relative EmitterPackageJsonPath in New-EmitterPackageLock.ps1 (…
azure-sdk Feb 27, 2024
aba6049
Pin typespec packages and update emitter-package-lock.json (#34419)
hallipr Feb 27, 2024
daac763
[EventHubs] update credential used for tests for pwsh/cli auth (#34478)
swathipil Feb 28, 2024
f865fd1
udpate emitter package.json (#34481)
iscai-msft Feb 28, 2024
7181b93
remove unused testApplicationSecret from test-resources.json (#34486)
swathipil Feb 28, 2024
404b60e
Sdk owners (#34328)
xiangyan99 Feb 28, 2024
b2c66cb
review changes (#34480)
nemanjarajic Feb 28, 2024
e54aa69
Increment package version after release of azure-eventgrid (#34255)
azure-sdk Feb 28, 2024
fb4cdd5
remove pinned deps to generate (#34515)
iscai-msft Feb 28, 2024
6452024
Exporter release 1.0.0b23 (#34512)
jeremydvoss Feb 28, 2024
a7868e9
A way to output simulated qa in a format compatible with eval (#34479)
nagkumar91 Feb 28, 2024
6f39338
Fix readinto typehint (#34444)
vincenttran-msft Feb 28, 2024
1763dab
Re-add experimental flags (#34510)
TajiHarrisMicrosoft Feb 28, 2024
b90e176
[WebPubSub] Release 1.1.0 for bug fix (#34492)
xingsy97 Feb 29, 2024
3d314d8
update release date (#34521)
xiangyan99 Feb 29, 2024
cf564cc
[Storage] Enable Py_LIMITED_API for extensions (#34523)
jalauzon-msft Feb 29, 2024
b2a421e
port retry-after fix into corehttp (#34536)
xiangyan99 Feb 29, 2024
1478c48
Update GPL license link (#34540)
mccoyp Feb 29, 2024
35bf8c0
Sync eng/common directory with azure-sdk-tools for PR 7682 (#34464)
azure-sdk Feb 29, 2024
6175879
Users/anksing/event closed bug (#34495)
singankit Feb 29, 2024
4392d12
[ACS JobRouter] Max concurrent offers on workers (#34193)
sarkar-rajarshi Feb 29, 2024
4fbc6d6
[Cosmos] Partition key not optional (#34306)
annatisch Feb 29, 2024
419f6fd
Update github-event-processor ver to 1.0.0-dev.20240229.2 (#34544)
azure-sdk Feb 29, 2024
f40ef8d
Add as_dict support (#34508)
xiangyan99 Mar 1, 2024
84508a0
Update test-resources.json (#34546)
Mar 1, 2024
0f603d0
Increment package version after release of azure-core (#34541)
azure-sdk Mar 1, 2024
c66e236
Increment package version after release of azure-monitor-opentelemetr…
azure-sdk Mar 1, 2024
ed99826
adding interrupt call media operation flag (#34315)
v-dharmarajv Mar 1, 2024
df25a4c
[Corehttp] add perf tests (#34412)
swathipil Mar 1, 2024
7662db1
update azure-core auth envvars (#34535)
swathipil Mar 1, 2024
6115a6a
Conda20240301 (#34399)
xiangyan99 Mar 1, 2024
f5cc8f3
[ServiceBus] prep release 7.12.0 (#34543)
swathipil Mar 1, 2024
f569eff
fix: correctly initializes the completion time of the copy properties…
hector-sab Mar 1, 2024
b299960
Azure Monitor Distro release 1.3.0 (#34537)
jeremydvoss Mar 1, 2024
472f0e4
Fix matrix CI tests (#34327)
azure-sdk Mar 1, 2024
a750b58
SDK implementation for Radiology Insights (in public preview) (#34317)
koen-mertens Mar 1, 2024
4621c2a
Update docstring.md (#34560)
kristapratico Mar 1, 2024
9886bcd
add link and update release date (#34562)
koen-mertens Mar 1, 2024
b88ec4c
User API 2024-03-01-Preview (#34475)
xiangyan99 Mar 1, 2024
8c651d9
[ml] Fix missing parent ids in trace logs (#34405)
diondrapeck Mar 1, 2024
fb60783
Add changelog, add prefix ValueError for list_blobs, list_blobs_names…
vincenttran-msft Mar 1, 2024
4ed18a2
Remove manual test proxy setup instructions (#34573)
mccoyp Mar 2, 2024
930d75e
Normalize the managed identity type in pipeline command and parallel …
bupt-wenxiaole Mar 2, 2024
6ec5379
[Cosmos] Bugfix for race condition on async lock (#34579)
simorenoh Mar 2, 2024
5f0c3ff
Update CHANGELOG.md (#34580)
simorenoh Mar 2, 2024
52fca3b
[Cosmos] skip user agent test (#34584)
simorenoh Mar 2, 2024
85ef6d5
[AutoRelease] t2-rdbms-2024-02-27-90755(can only be merged by SDK own…
azure-sdk Mar 4, 2024
84c71b9
[AutoRelease] t2-chaos-2024-02-21-34265(can only be merged by SDK own…
azure-sdk Mar 4, 2024
17d26b6
[AutoRelease] t2-azurelargeinstance-2024-02-06-59708(can only be merg…
azure-sdk Mar 4, 2024
dd98913
[AutoRelease] t2-redisenterprise-2024-01-23-52802(can only be merged …
azure-sdk Mar 4, 2024
069bb31
[AutoRelease] t2-datafactory-2024-01-26-41491(can only be merged by S…
azure-sdk Mar 4, 2024
f1127df
[AutoRelease] t2-playwrighttesting-2024-01-23-75657(can only be merge…
azure-sdk Mar 4, 2024
f15adfa
[PYTHON] Communication Identity | Dropped 3.7 support (#34555)
mjafferi-msft Mar 4, 2024
12bb59f
Fix EnforceMaxLifeOfIssues event and run time (#34596)
azure-sdk Mar 4, 2024
03dc6b8
Increment package version after release of azure-monitor-opentelemetr…
azure-sdk Mar 4, 2024
dd01793
[Core] Fix for Mypy-Next Errors (#34507)
kashifkhan Mar 4, 2024
14e5836
opentelemetry Exporter drop use of deprecated utcnow (#34469)
jenshnielsen Mar 4, 2024
07a4a77
install tool dependencies before verify ci step in release build (#34…
kristapratico Mar 4, 2024
a545697
[Storage] Fix sparse page blob download (#34588)
jalauzon-msft Mar 4, 2024
605b13a
Make backward compatible (#34607)
bastrik Mar 4, 2024
4d8b372
Sync eng/common directory with azure-sdk-tools for PR 7758 (#34609)
azure-sdk Mar 4, 2024
3ea3625
Fix mypy errors in ApiView (#34477)
CoderKevinZhang Mar 4, 2024
9b0bd3c
identity chanagelog (#34598)
xiangyan99 Mar 4, 2024
c05ff90
Users/anksing/chat built in flow fix (#34603)
singankit Mar 4, 2024
b417ceb
Update the logging level as this is supposed to be a warning (#34504)
RichardOberdieck Mar 4, 2024
f165796
Stop requiring SP credentials when user-based auth is used (#34561)
mccoyp Mar 5, 2024
059b833
update testcase for azure-mgmt-automation (#34620)
ChenxiJiang333 Mar 5, 2024
13243cc
[ml] Fix api view mypy errors (#34581)
diondrapeck Mar 5, 2024
180b4a7
Increment package version after release of azure-identity (#34626)
azure-sdk Mar 5, 2024
e207aec
Fixes copy issue (#34615)
mrm9084 Mar 5, 2024
ffee9b8
Update API documentation link (#34622)
mccoyp Mar 5, 2024
a9e3bb0
[ServiceBus] prep release (#34628)
swathipil Mar 5, 2024
47f2d64
use optional env for azure openai tests (#34517)
kristapratico Mar 5, 2024
293d480
Yifanzhou/purview datamap 0901 (#34369)
yifan-zhou922 Mar 5, 2024
97c01e0
Update CHANGELOG date (#34632)
swathipil Mar 5, 2024
39a6517
Sync eng/common directory with azure-sdk-tools for PR 7810 (#34633)
azure-sdk Mar 5, 2024
ad990bd
Pylint Errors Fix for azure-ai-generative (#34180)
CoderKevinZhang Mar 5, 2024
aaa66c5
fixed the issue that context is missing for EntityRecognitionSkill (#…
xiangyan99 Mar 6, 2024
6abeaba
[Storage] Update Blob CHANGELOG after hotfix (#34644)
jalauzon-msft Mar 6, 2024
83ac4fd
update breakingchange config (#34647)
JackTn Mar 6, 2024
3691357
Increment package version after release of azure-search-documents (#3…
azure-sdk Mar 6, 2024
6aafa16
Increment package version after release of azure-servicebus (#34661)
azure-sdk Mar 6, 2024
a0c4de7
update mgmt docs build to not rely on hardcoded mappings (#34482)
kristapratico Mar 6, 2024
1d066ef
RAI simulator support for context in QA eval (#34617)
nagkumar91 Mar 6, 2024
45805b7
[ML] Fix operation keyword arg (#34666)
annatisch Mar 6, 2024
61e9c57
TestResources - Bubble up errors in Retry with pipe statements (#34667)
azure-sdk Mar 7, 2024
62e49b4
MoMo api review changes (#34670)
nemanjarajic Mar 7, 2024
f13dc36
[ml] Fix datalake gen2 datastore type annotation (#34669)
diondrapeck Mar 7, 2024
88b4047
1ES Template Conversion (#34663)
scbedd Mar 7, 2024
e0179c5
Yaml adjustments to bring the majority of the tests.yml into
scbedd Mar 6, 2024
6b1984c
[DocumentIntelligence] Generate from the latest typespec with service…
Mar 7, 2024
bb0fa38
Increment package version after release of azure-cosmos (#34585)
azure-sdk Mar 7, 2024
b09862b
ensure that we skip BuildTags for GithubPullRequests (#34677)
jalauzon-msft Mar 7, 2024
c8c3884
[EventHubs] fix failing test pipeline (#34689)
swathipil Mar 7, 2024
0ef270f
test add dns
mrm9084 Mar 7, 2024
3546171
[DI] Rename base64_source (#34634)
Mar 7, 2024
bda301f
fix simulator calling (#34678)
nagkumar91 Mar 7, 2024
589e5f9
Update shared_requirements.txt
mrm9084 Mar 7, 2024
54343c4
[Tracing] Add EventHubs live tracing tests (#34578)
pvaneck Mar 7, 2024
42b5dfa
more updates to various image references (#34692)
scbedd Mar 7, 2024
ad95c41
update the docstring at `period` parameter of `ProbeSettings class` (…
KazuOnuki Mar 7, 2024
b930399
Update featureset spec for featureset source (#34668)
anyalee0221 Mar 7, 2024
11e1ecd
[Text Translation] Allow users to pass in just string instead of comp…
MikeyMCZ Mar 8, 2024
bde9eb2
Prepare for release (#34703)
Mar 8, 2024
5652869
Increment package version after release of azure-ai-documentintellige…
azure-sdk Mar 8, 2024
83a137e
Add dotnet-api product slug to sample metadata script (#34706)
azure-sdk Mar 8, 2024
1923e0d
[Perf] corehttp - updating async stream upload httpx test (#34674)
swathipil Mar 8, 2024
9b96ce5
Remove defunct user from CODEOWNERS (#34707)
JimSuplizio Mar 8, 2024
256e783
Sync .github/workflows directory with azure-sdk-tools for PR 7845 (#3…
azure-sdk Mar 8, 2024
ee767c2
Update Prepare-Release.ps1 to handle only one previous release (#34708)
azure-sdk Mar 8, 2024
87bca57
remove upper bound in setup.py (#34402)
xiangyan99 Mar 8, 2024
23121a5
Add myself/mccoy to the tools directory codeowners (#34524)
scbedd Mar 8, 2024
1d394a0
Merge branch 'main' into ReplicaDiscovery
mrm9084 Mar 9, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[ml] Fix api view mypy errors (#34581)
* Revert change to acs_connection_id type

* Address remaining type issues

* Revert changes to irrelevant files

* Add whitespace back

* Remove unintentional change

* Remove Optional type annotation from get() methods

* Remove duplicate overloads

* Fix circular import

* Revert lost input/output overload types

* Remove duplicate overloads for uri_folder

* Use type:ignore to silence known incompatibilities
  • Loading branch information
diondrapeck authored Mar 5, 2024
commit 13243cc1a989ace224c0913377a6e346cdada075
6 changes: 4 additions & 2 deletions sdk/ml/azure-ai-ml/azure/ai/ml/entities/_builders/parallel.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import logging
import os
import re
from enum import Enum
from typing import Any, Dict, List, Optional, Tuple, Type, Union, cast

from marshmallow import INCLUDE, Schema
Expand All @@ -23,6 +24,7 @@
)
from azure.ai.ml.entities._job.job import Job
from azure.ai.ml.entities._job.parallel.run_function import RunFunction
from azure.ai.ml.entities._job.pipeline._io import NodeOutput

from ..._schema import PathAwareSchema
from ..._utils.utils import is_data_binding_expression
Expand All @@ -31,7 +33,7 @@
from .._component.component import Component
from .._component.flow import FlowComponent
from .._component.parallel_component import ParallelComponent
from .._inputs_outputs import Output
from .._inputs_outputs import Input, Output
from .._job.job_resource_configuration import JobResourceConfiguration
from .._job.parallel.parallel_job import ParallelJob
from .._job.parallel.parallel_task import ParallelTask
Expand Down Expand Up @@ -108,7 +110,7 @@ def __init__(
*,
component: Union[ParallelComponent, str],
compute: Optional[str] = None,
inputs: Optional[Dict] = None,
inputs: Optional[Dict[str, Union[NodeOutput, Input, str, bool, int, float, Enum]]] = None,
outputs: Optional[Dict[str, Union[str, Output, "Output"]]] = None,
retry_settings: Optional[Union[RetrySettings, Dict[str, str]]] = None,
logging_level: Optional[str] = None,
Expand Down
4 changes: 2 additions & 2 deletions sdk/ml/azure-ai-ml/azure/ai/ml/entities/_builders/sweep.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,9 +427,9 @@ def __setattr__(self, key: Any, value: Any) -> None:
# only one of slack_amount and slack_factor can be specified but default value is 0.0.
# Need to keep track of which one is null.
if self.early_termination.slack_amount == 0.0:
self.early_termination.slack_amount = None
self.early_termination.slack_amount = None # type: ignore[assignment]
if self.early_termination.slack_factor == 0.0:
self.early_termination.slack_factor = None
self.early_termination.slack_factor = None # type: ignore[assignment]

@property
def early_termination(self) -> Optional[Union[str, EarlyTerminationPolicy]]:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ class AzureFileDatastore(Datastore):
:param properties: The asset property dictionary.
:type properties: dict[str, str]
:param credentials: Credentials to use for Azure ML workspace to connect to the storage.
:type credentials: Union[AccountKeySection, SasSection]
:type credentials: Union[~azure.ai.ml.entities.AccountKeyConfiguration,
~azure.ai.ml.entities.SasTokenConfiguration]
:param kwargs: A dictionary of additional configuration parameters.
:type kwargs: dict
"""
Expand All @@ -61,7 +62,7 @@ def __init__(
endpoint: str = _get_storage_endpoint_from_metadata(),
protocol: str = HTTPS,
properties: Optional[Dict] = None,
credentials: Any,
credentials: Union[AccountKeyConfiguration, SasTokenConfiguration],
**kwargs: Any
):
kwargs[TYPE] = DatastoreType.AZURE_FILE
Expand Down Expand Up @@ -97,7 +98,7 @@ def _from_rest_object(cls, datastore_resource: DatastoreData) -> "AzureFileDatas
name=datastore_resource.name,
id=datastore_resource.id,
account_name=properties.account_name,
credentials=from_rest_datastore_credentials(properties.credentials),
credentials=from_rest_datastore_credentials(properties.credentials), # type: ignore[arg-type]
endpoint=properties.endpoint,
protocol=properties.protocol,
file_share_name=properties.file_share_name,
Expand Down Expand Up @@ -260,7 +261,7 @@ def __init__(
endpoint: str = _get_storage_endpoint_from_metadata(),
protocol: str = HTTPS,
properties: Optional[Dict] = None,
credentials: Any = None,
credentials: Optional[Union[AccountKeyConfiguration, SasTokenConfiguration]] = None,
**kwargs: Any
):
kwargs[TYPE] = DatastoreType.AZURE_DATA_LAKE_GEN2
Expand Down Expand Up @@ -299,7 +300,7 @@ def _from_rest_object(cls, datastore_resource: DatastoreData) -> "AzureDataLakeG
name=datastore_resource.name,
id=datastore_resource.id,
account_name=properties.account_name,
credentials=from_rest_datastore_credentials(properties.credentials),
credentials=from_rest_datastore_credentials(properties.credentials), # type: ignore[arg-type]
endpoint=properties.endpoint,
protocol=properties.protocol,
filesystem=properties.filesystem,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def __init__(
query: Optional[str] = None,
table_name: Optional[str] = None,
stored_procedure: Optional[str] = None,
stored_procedure_params: Optional[List] = None,
stored_procedure_params: Optional[List[Dict]] = None,
connection: Optional[str] = None,
) -> None:
# As an annotation, it is not allowed to initialize the name.
Expand Down
13 changes: 0 additions & 13 deletions sdk/ml/azure-ai-ml/azure/ai/ml/entities/_inputs_outputs/input.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,19 +85,6 @@ def __init__(
) -> None:
""""""

@overload
def __init__(
self,
*,
type: Literal["uri_folder"] = "uri_folder",
path: Optional[str] = None,
mode: Optional[str] = None,
optional: Optional[bool] = None,
description: Optional[str] = None,
**kwargs: Any,
) -> None:
""""""

@overload
def __init__(
self,
Expand Down
77 changes: 32 additions & 45 deletions sdk/ml/azure-ai-ml/azure/ai/ml/entities/_inputs_outputs/output.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,42 @@ def __init__(

@overload
def __init__(
self,
type: Literal["uri_file"] = "uri_file",
path: Optional[str] = None,
mode: Optional[str] = None,
description: Optional[str] = None,
):
"""Define a URI file output.

:keyword type: The type of the data output. Can only be set to 'uri_file'.
:paramtype type: str
:keyword path: The remote path where the output should be stored.
:paramtype path: str
:keyword mode: The access mode of the data output. Accepted values are
* 'rw_mount': Read-write mount the data,
* 'upload': Upload the data from the compute target,
* 'direct': Pass in the URI as a string
:paramtype mode: str
:keyword description: The description of the output.
:paramtype description: str
:keyword name: The name to be used to register the output as a Data or Model asset. A name can be set without
setting a version.
:paramtype name: str
:keyword version: The version used to register the output as a Data or Model asset. A version can be set only
when name is set.
:paramtype version: str
"""

def __init__( # type: ignore[misc]
self,
*,
type: Literal["uri_folder"] = "uri_folder",
type: str = AssetTypes.URI_FOLDER,
path: Optional[str] = None,
mode: Optional[str] = None,
description: Optional[str] = None,
**kwargs: Any,
) -> None:
# pylint: disable=line-too-long
"""Define an output.

:keyword type: The type of the data output. Accepted values are 'uri_folder', 'uri_file', 'mltable',
Expand All @@ -68,9 +96,8 @@ def __init__(
:paramtype early_available: bool
:keyword intellectual_property: Intellectual property associated with the output.
It can be an instance of `IntellectualProperty` or a dictionary that will be used to create an instance.
:paramtype intellectual_property: Union[~azure.ai.ml.entities._assets.intellectual_property.IntellectualProperty,

dict]
:paramtype intellectual_property: Union[
~azure.ai.ml.entities._assets.intellectual_property.IntellectualProperty, dict]

.. admonition:: Example:

Expand All @@ -81,46 +108,6 @@ def __init__(
:dedent: 8
:caption: Creating a CommandJob with a folder output.
"""

@overload
def __init__(
self,
*,
type: Literal["uri_file"] = "uri_file",
path: Optional[str] = None,
mode: Optional[str] = None,
description: Optional[str] = None,
):
"""Define a URI file output.

:keyword type: The type of the data output. Can only be set to 'uri_file'.
:paramtype type: str
:keyword path: The remote path where the output should be stored.
:paramtype path: str
:keyword mode: The access mode of the data output. Accepted values are
* 'rw_mount': Read-write mount the data,
* 'upload': Upload the data from the compute target,
* 'direct': Pass in the URI as a string
:paramtype mode: str
:keyword description: The description of the output.
:paramtype description: str
:keyword name: The name to be used to register the output as a Data or Model asset. A name can be set without
setting a version.
:paramtype name: str
:keyword version: The version used to register the output as a Data or Model asset. A version can be set only
when name is set.
:paramtype version: str
"""

def __init__(
self,
*,
type: str = AssetTypes.URI_FOLDER,
path: Optional[str] = None,
mode: Optional[str] = None,
description: Optional[str] = None,
**kwargs: Any,
) -> None:
super(Output, self).__init__(type=type)
# As an annotation, it is not allowed to initialize the _port_name.
self._port_name = None
Expand Down
6 changes: 3 additions & 3 deletions sdk/ml/azure-ai-ml/azure/ai/ml/entities/_job/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def status(self) -> Optional[str]:
return self._status

@property
def log_files(self) -> Optional[Dict]:
def log_files(self) -> Optional[Dict[str, str]]:
"""Job output files.

:return: The dictionary of log names and URLs.
Expand Down Expand Up @@ -208,10 +208,10 @@ def _resolve_cls_and_type(cls, data: Dict, params_override: Optional[List[Dict]]
from azure.ai.ml.entities._builders.command import Command
from azure.ai.ml.entities._builders.spark import Spark
from azure.ai.ml.entities._job.automl.automl_job import AutoMLJob
from azure.ai.ml.entities._job.finetuning.finetuning_job import FineTuningJob
from azure.ai.ml.entities._job.import_job import ImportJob
from azure.ai.ml.entities._job.pipeline.pipeline_job import PipelineJob
from azure.ai.ml.entities._job.sweep.sweep_job import SweepJob
from azure.ai.ml.entities._job.finetuning.finetuning_job import FineTuningJob

job_type: Optional[Type["Job"]] = None
type_in_override = find_type_in_override(params_override)
Expand Down Expand Up @@ -293,9 +293,9 @@ def _from_rest_object( # pylint: disable=too-many-return-statements
from azure.ai.ml.entities._builders.spark import Spark
from azure.ai.ml.entities._job.automl.automl_job import AutoMLJob
from azure.ai.ml.entities._job.base_job import _BaseJob
from azure.ai.ml.entities._job.finetuning.finetuning_job import FineTuningJob
from azure.ai.ml.entities._job.import_job import ImportJob
from azure.ai.ml.entities._job.sweep.sweep_job import SweepJob
from azure.ai.ml.entities._job.finetuning.finetuning_job import FineTuningJob

try:
if isinstance(obj, Run):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def _to_node(self, context: Optional[Dict] = None, **kwargs: Any) -> "Parallel":
component=component,
compute=self.compute,
# Need to supply the inputs with double curly.
inputs=self.inputs,
inputs=self.inputs, # type: ignore[arg-type]
outputs=self.outputs, # type: ignore[arg-type]
mini_batch_size=self.mini_batch_size,
partition_keys=self.partition_keys,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ def __init__(
*,
delay_evaluation: int = 0,
evaluation_interval: int = 0,
slack_amount: Optional[float] = 0,
slack_factor: Optional[float] = 0,
slack_amount: float = 0,
slack_factor: float = 0,
) -> None:
super().__init__(delay_evaluation=delay_evaluation, evaluation_interval=evaluation_interval)
self.type = EarlyTerminationPolicyType.BANDIT.lower()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def _get(self, name: str, version: Optional[str] = None, **kwargs: Dict) -> Feat

@distributed_trace
@monitor_with_activity(ops_logger, "FeatureSet.Get", ActivityType.PUBLICAPI)
def get(self, name: str, version: str, **kwargs: Dict) -> Optional[FeatureSet]: # type: ignore
def get(self, name: str, version: str, **kwargs: Dict) -> FeatureSet: # type: ignore
"""Get the specified FeatureSet asset.

:param name: Name of FeatureSet asset.
Expand All @@ -134,6 +134,8 @@ def get(self, name: str, version: str, **kwargs: Dict) -> Optional[FeatureSet]:
:type version: str
:raises ~azure.ai.ml.exceptions.ValidationException: Raised if FeatureSet cannot be successfully
identified and retrieved. Details will be provided in the error message.
:raises ~azure.core.exceptions.HttpResponseError: Raised if the corresponding name and version cannot be
retrieved from the service.
:return: FeatureSet asset object.
:rtype: ~azure.ai.ml.entities.FeatureSet
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ def get(self, name: str, **kwargs: Any) -> FeatureStore:

:param name: Name of the feature store.
:type name: str
:raises ~azure.core.exceptions.HttpResponseError: Raised if the corresponding name and version cannot be
retrieved from the service.
:return: The feature store with the provided name.
:rtype: FeatureStore
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ def get(self, name: str) -> Job:

@distributed_trace
@monitor_with_telemetry_mixin(ops_logger, "Job.ShowServices", ActivityType.PUBLICAPI)
def show_services(self, name: str, node_index: int = 0) -> Optional[Dict]:
def show_services(self, name: str, node_index: int = 0) -> Optional[Dict[str, ServiceInstance]]:
"""Gets services associated with a job's node.

:param name: The name of the job.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,21 +72,23 @@ def list(self, *, scope: str = Scope.RESOURCE_GROUP) -> Iterable[Registry]:
)

@monitor_with_activity(ops_logger, "Registry.Get", ActivityType.PUBLICAPI)
def get(self, name: Optional[str] = None) -> Optional[Registry]:
def get(self, name: Optional[str] = None) -> Registry:
"""Get a registry by name.

:param name: Name of the registry.
:type name: str
:raises ~azure.ai.ml.exceptions.ValidationException: Raised if Registry name cannot be
successfully validated. Details will be provided in the error message.
:raises ~azure.core.exceptions.HttpResponseError: Raised if the corresponding name and version cannot be
retrieved from the service.
:return: The registry with the provided name.
:rtype: ~azure.ai.ml.entities.Registry
"""

registry_name = self._check_registry_name(name)
resource_group = self._resource_group_name
obj = self._operation.get(resource_group, registry_name)
return Registry._from_rest_object(obj)
return Registry._from_rest_object(obj) # type: ignore[return-value]

def _check_registry_name(self, name: Optional[str]) -> str:
registry_name = name or self._default_registry_name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,13 @@ def __init__(
self._init_kwargs = kwargs

@monitor_with_activity(ops_logger, "WorkspaceConnections.Get", ActivityType.PUBLICAPI)
def get(self, name: str, **kwargs: Dict) -> Optional[WorkspaceConnection]:
def get(self, name: str, **kwargs: Dict) -> WorkspaceConnection:
"""Get a workspace connection by name.

:param name: Name of the workspace connection.
:type name: str
:raises ~azure.core.exceptions.HttpResponseError: Raised if the corresponding name and version cannot be
retrieved from the service.
:return: The workspace connection with the provided name.
:rtype: ~azure.ai.ml.entities.WorkspaceConnection

Expand All @@ -72,7 +74,7 @@ def get(self, name: str, **kwargs: Dict) -> Optional[WorkspaceConnection]:
**kwargs,
)

return WorkspaceConnection._from_rest_object(rest_obj=obj)
return WorkspaceConnection._from_rest_object(rest_obj=obj) # type: ignore[return-value]

@monitor_with_activity(ops_logger, "WorkspaceConnections.CreateOrUpdate", ActivityType.PUBLICAPI)
def create_or_update(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,13 @@ def list(self, *, scope: str = Scope.RESOURCE_GROUP) -> Iterable[WorkspaceHub]:
@distributed_trace
@monitor_with_activity(ops_logger, "WorkspaceHub.Get", ActivityType.PUBLICAPI)
# pylint: disable=arguments-renamed, arguments-differ
def get(self, name: str, **kwargs: Dict) -> Optional[WorkspaceHub]:
def get(self, name: str, **kwargs: Dict) -> WorkspaceHub:
"""Get a Workspace WorkspaceHub by name.

:param name: Name of the WorkspaceHub.
:type name: str
:raises ~azure.core.exceptions.HttpResponseError: Raised if the corresponding name and version cannot be
retrieved from the service.
:return: The WorkspaceHub with the provided name.
:rtype: ~azure.ai.ml.entities.WorkspaceHub

Expand All @@ -116,7 +118,7 @@ def get(self, name: str, **kwargs: Dict) -> Optional[WorkspaceHub]:
if rest_workspace_obj and rest_workspace_obj.kind and rest_workspace_obj.kind.lower() == WORKSPACE_HUB_KIND:
workspace_hub = WorkspaceHub._from_rest_object(rest_workspace_obj)

return workspace_hub
return workspace_hub # type: ignore[return-value]

@distributed_trace
@monitor_with_activity(ops_logger, "WorkspaceHub.BeginCreate", ActivityType.PUBLICAPI)
Expand Down