Azure / Azure/azure-sdk-for-python

[Content Validation Issue] Missing type annotations for learn.microsoft website

Open
#38,151 2 comments 0 reactions 1 assignee Claimed by @mrm9084 View on GitHub
App Configuration Provider Client Docs needs-team-attention question
Dominant language
Python
Stars
5.6k
Forks
3.4k
Avg merge
1d 21h
Merged PRs (30d)
193

Description

1.
**Package:**`azure-appconfiguration-provider`
**Section link:**

- https://learn.microsoft.com/en-us/python/api/azure-appconfiguration-provider/azure.appconfiguration.provider.watchkey?view=azure-python#constructor

![Image](https://github.com/user-attachments/assets/850204a8-1192-4965-8a9a-be2339e893a8)
**Reason:**
Missing type annotations.

2.
**Package:**`azure-batch`
①**Section link:**

- https://learn.microsoft.com/en-us/python/api/azure-batch/azure.batch.operations.accountoperations?view=azure-python
- https://learn.microsoft.com/en-us/python/api/azure-batch/azure.batch.operations.applicationoperations?view=azure-python
- https://learn.microsoft.com/en-us/python/api/azure-batch/azure.batch.operations.certificateoperations?view=azure-python
- https://learn.microsoft.com/en-us/python/api/azure-batch/azure.batch.operations.computenodeextensionoperations?view=azure-python
- https://learn.microsoft.com/en-us/python/api/azure-batch/azure.batch.operations.computenodeoperations?view=azure-python
- https://learn.microsoft.com/en-us/python/api/azure-batch/azure.batch.operations.fileoperations?view=azure-python
- https://learn.microsoft.com/en-us/python/api/azure-batch/azure.batch.operations.joboperations?view=azure-python
- https://learn.microsoft.com/en-us/python/api/azure-batch/azure.batch.operations.jobscheduleoperations?view=azure-python
- https://learn.microsoft.com/en-us/python/api/azure-batch/azure.batch.operations.pooloperations?view=azure-python
- https://learn.microsoft.com/en-us/python/api/azure-batch/azure.batch.operations.taskoperations?view=azure-python

![Image](https://github.com/user-attachments/assets/96c6f644-bbfa-4449-826c-6bc02072d0c5)
**Reason:**
Missing type annotations. Please unify the format, update to `*args:Any, **kwargs:Any`.

②**Section link:**

- https://learn.microsoft.com/en-us/python/api/azure-batch/azure.batch.batch_auth.sharedkeyauth?view=azure-python
- https://learn.microsoft.com/en-us/python/api/azure-batch/azure.batch.batch_auth.sharedkeycredentials?view=azure-python

![Image](https://github.com/user-attachments/assets/cbaf1459-e73d-4cb5-bc4b-4d710bf3299d)
**Reason:**
Missing type annotations.

③**Section link:**

- https://learn.microsoft.com/en-us/python/api/azure-batch/azure.batch.batchserviceclient?view=azure-python
- https://learn.microsoft.com/en-us/python/api/azure-batch/azure.batch.batchserviceclientconfiguration?view=azure-python
**Notes:** All classes in the [model](https://learn.microsoft.com/en-us/python/api/azure-batch/azure.batch.models?view=azure-python) have this issue.

![Image](https://github.com/user-attachments/assets/c23bf6ca-af96-48ec-9858-5d6ce709dae7)
**Reason:**
Missing type annotations.

3.
**Package:**`azure-containerregistry`
**Section link:**
- https://learn.microsoft.com/en-us/python/api/azure-containerregistry/azure.containerregistry.digestvalidationerror?view=azure-python#constructor

![Image](https://github.com/user-attachments/assets/3d9467f3-d98d-4270-80e1-5615ce568278)
**Reason:**
Missing type annotations.

4.
**Package:**`azure-functions`
**Section link:**
- https://learn.microsoft.com/en-us/python/api/azure-functions/azure.functions.durable_functions.activitytriggerconverter?view=azure-python
- https://learn.microsoft.com/en-us/python/api/azure-functions/azure.functions.durable_functions.enititytriggerconverter?view=azure-python
- https://learn.microsoft.com/en-us/python/api/azure-functions/azure.functions.durable_functions.orchestrationtriggerconverter?view=azure-python
- https://learn.microsoft.com/en-us/python/api/azure-functions/azure.functions.kafka.kafkaconverter?view=azure-python
- https://learn.microsoft.com/en-us/python/api/azure-functions/azure.functions.kafka.kafkatriggerconverter?view=azure-python
- https://learn.microsoft.com/en-us/python/api/azure-functions/azure.functions.kafkaconverter?view=azure-python
- https://learn.microsoft.com/en-us/python/api/azure-functions/azure.functions.kafkatriggerconverter?view=azure-python

![Image](https://github.com/user-attachments/assets/35ecb4ec-db6f-467d-9d01-19db8f903d66)
**Reason:**
Missing type annotations.

5.
**Package:**`azure-iot-device`
①**Section link:**

- https://learn.microsoft.com/en-us/python/api/azure-iot-device/azure.iot.device.aio.patch_documentation?view=azure-python

![Image](https://github.com/user-attachments/assets/3f47de2e-e8d2-46fc-9123-1d6f73a51647)
**Reason:**
Missing type annotations. Please update to `*args:Any, **kwargs:Any`.

②**Section link:**

- https://learn.microsoft.com/en-us/python/api/azure-iot-device/azure.iot.device.aio.iothubdeviceclient?view=azure-python
Other links:
[link1](https://learn.microsoft.com/en-us/python/api/azure-iot-device/azure.iot.device.aio.iothubmoduleclient?view=azure-python), [link2](https://learn.microsoft.com/en-us/python/api/azure-iot-device/azure.iot.device.aio.provisioningdeviceclient?view=azure-python), [link3](https://learn.microsoft.com/en-us/python/api/azure-iot-device/azure.iot.device.exceptions.clienterror?view=azure-python), [link4](https://learn.microsoft.com/en-us/python/api/azure-iot-device/azure.iot.device.exceptions.connectiondroppederror?view=azure-python), [link5](https://learn.microsoft.com/en-us/python/api/azure-iot-device/azure.iot.device.exceptions.connectionfailederror?view=azure-python), [link6](https://learn.microsoft.com/en-us/python/api/azure-iot-device/azure.iot.device.exceptions.credentialerror?view=azure-python), [link7](https://learn.microsoft.com/en-us/python/api/azure-iot-device/azure.iot.device.exceptions.noconnectionerror?view=azure-python), [link8](https://learn.microsoft.com/en-us/python/api/azure-iot-device/azure.iot.device.exceptions.operationcancelled?view=azure-python), [link9](https://learn.microsoft.com/en-us/python/api/azure-iot-device/azure.iot.device.exceptions.operationtimeout?view=azure-python), [link10](https://learn.microsoft.com/en-us/python/api/azure-iot-device/azure.iot.device.exceptions.serviceerror?view=azure-python), [link11](https://learn.microsoft.com/en-us/python/api/azure-iot-device/azure.iot.device.patch_documentation?view=azure-python), [link12](https://learn.microsoft.com/en-us/python/api/azure-iot-device/azure.iot.device.user_agent?view=azure-python), [link13](https://learn.microsoft.com/en-us/python/api/azure-iot-device/azure.iot.device.iothubdeviceclient?view=azure-python), [link14](https://learn.microsoft.com/en-us/python/api/azure-iot-device/azure.iot.device.iothubmoduleclient?view=azure-python), [link15](https://learn.microsoft.com/en-us/python/api/azure-iot-device/azure.iot.device.iothubdeviceclient?view=azure-python), [link16](https://learn.microsoft.com/en-us/python/api/azure-iot-device/azure.iot.device.iothubmoduleclient?view=azure-python), [link17](https://learn.microsoft.com/en-us/python/api/azure-iot-device/azure.iot.device.provisioningdeviceclient?view=azure-python)
**Notes:** All [classes](https://learn.microsoft.com/en-us/python/api/azure-iot-device/azure.iot.device.exceptions?view=azure-python) have this issue.

![Image](https://github.com/user-attachments/assets/e038ac46-b0f8-4a62-9a08-cee348f42c89)
**Reason:**
Missing type annotations.

6.
**Package:**`azure-iot-hub`
**Section link:**

- https://learn.microsoft.com/en-us/python/api/azure-iot-hub/azure.iot.hub.protocol.operations.bulkregistryoperations?view=azure-python
**Notes:** All Modules and classes in the [operations](https://learn.microsoft.com/en-us/python/api/azure-iot-hub/azure.iot.hub.protocol.operations?view=azure-python) have this issue.
- https://learn.microsoft.com/en-us/python/api/azure-iot-hub/azure.iot.hub.auth.connectionstringauthentication?view=azure-python
- https://learn.microsoft.com/en-us/python/api/azure-iot-hub/azure.iot.hub.connection_string.connectionstring?view=azure-python
- https://learn.microsoft.com/en-us/python/api/azure-iot-hub/azure.iot.hub.iothub_amqp_client.iothubamqpclientbase?view=azure-python
Notes: All [classes](https://learn.microsoft.com/en-us/python/api/azure-iot-hub/azure.iot.hub.iothub_amqp_client?view=azure-python) have this issue.

![Image](https://github.com/user-attachments/assets/3917a6d8-32c7-4a8c-80fd-6b7c9340e341)
**Reason:**
Missing type annotations. Please unify the format, update to `*args:Any, **kwargs:Any`.

7.
**Package:**`azure-schemaregistry-avroencoder`
**Section link:**

- https://learn.microsoft.com/en-us/python/api/azure-schemaregistry-avroencoder/azure.schemaregistry.encoder.avroencoder.invalidschemaerror?view=azure-python#constructor
- https://learn.microsoft.com/en-us/python/api/azure-schemaregistry-avroencoder/azure.schemaregistry.encoder.avroencoder.invalidcontenterror?view=azure-python#constructor
**Note:** Most package have this issue.

![Image](https://github.com/user-attachments/assets/0a3d8faf-0428-4765-aa61-ab4ff440a4dd)
**Suggestion:**
suggestion:Missing type annotations for `message`

8.
**Package:**`azure-servicefabric`
**Section link:**

- https://learn.microsoft.com/en-us/python/api/azure-servicefabric/azure.servicefabric.operations.meshapplicationoperations?view=azure-python
Other links:
[link1](https://learn.microsoft.com/en-us/python/api/azure-servicefabric/azure.servicefabric.operations.meshcodepackageoperations?view=azure-python), [link2](https://learn.microsoft.com/en-us/python/api/azure-servicefabric/azure.servicefabric.operations.meshgatewayoperations?view=azure-python), [link3](https://learn.microsoft.com/en-us/python/api/azure-servicefabric/azure.servicefabric.operations.meshnetworkoperations?view=azure-python), [link4](https://learn.microsoft.com/en-us/python/api/azure-servicefabric/azure.servicefabric.operations.meshsecretoperations?view=azure-python), [link5](https://learn.microsoft.com/en-us/python/api/azure-servicefabric/azure.servicefabric.operations.meshsecretvalueoperations?view=azure-python), [link6](https://learn.microsoft.com/en-us/python/api/azure-servicefabric/azure.servicefabric.operations.meshserviceoperations?view=azure-python), [link7](https://learn.microsoft.com/en-us/python/api/azure-servicefabric/azure.servicefabric.operations.meshservicereplicaoperations?view=azure-python), [link8](https://learn.microsoft.com/en-us/python/api/azure-servicefabric/azure.servicefabric.operations.meshvolumeoperations?view=azure-python), [link9](https://learn.microsoft.com/en-us/python/api/azure-servicefabric/azure.servicefabric.operations.servicefabricclientapisoperationsmixin?view=azure-python), [link10](https://learn.microsoft.com/en-us/python/api/azure-servicefabric/azure.servicefabric.servicefabricclientapis?view=azure-python), [link11](https://learn.microsoft.com/en-us/python/api/azure-servicefabric/azure.servicefabric.servicefabricclientapisconfiguration?view=azure-python)

![Image](https://github.com/user-attachments/assets/25d9af19-c5af-424b-8eea-84187d39d68a)
**Reason:**
Missing type annotations. Please update to `*args:Any, **kwargs:Any`.

9.
**Package:**`azure-storage-blob`
**Section link:**

- https://learn.microsoft.com/en-us/python/api/azure-storage-blob/azure.storage.blob.aio.blobprefix?view=azure-python
Other links:
[link1](https://learn.microsoft.com/en-us/python/api/azure-storage-blob/azure.storage.blob.aio.exponentialretry?view=azure-python), [link2](https://learn.microsoft.com/en-us/python/api/azure-storage-blob/azure.storage.blob.aio.linearretry?view=azure-python), [link3](https://learn.microsoft.com/en-us/python/api/azure-storage-blob/azure.storage.blob.aio.storagestreamdownloader?view=azure-python), [link4](https://learn.microsoft.com/en-us/python/api/azure-storage-blob/azure.storage.blob.accountsaspermissions?view=azure-python), [link5](https://learn.microsoft.com/en-us/python/api/azure-storage-blob/azure.storage.blob.arrowdialect?view=azure-python), [link6](https://learn.microsoft.com/en-us/python/api/azure-storage-blob/azure.storage.blob.blobblock?view=azure-python), [link7](https://learn.microsoft.com/en-us/python/api/azure-storage-blob/azure.storage.blob.blobprefix?view=azure-python), [link8](https://learn.microsoft.com/en-us/python/api/azure-storage-blob/azure.storage.blob.blobproperties?view=azure-python), [link9](https://learn.microsoft.com/en-us/python/api/azure-storage-blob/azure.storage.blob.containerproperties?view=azure-python), [link10](https://learn.microsoft.com/en-us/python/api/azure-storage-blob/azure.storage.blob.contentsettings?view=azure-python), [link11](https://learn.microsoft.com/en-us/python/api/azure-storage-blob/azure.storage.blob.copyproperties?view=azure-python), [link12](https://learn.microsoft.com/en-us/python/api/azure-storage-blob/azure.storage.blob.delimitedjsondialect?view=azure-python), [link13](https://learn.microsoft.com/en-us/python/api/azure-storage-blob/azure.storage.blob.delimitedtextdialect?view=azure-python), [link14](https://learn.microsoft.com/en-us/python/api/azure-storage-blob/azure.storage.blob.exponentialretry?view=azure-python), [link15](https://learn.microsoft.com/en-us/python/api/azure-storage-blob/azure.storage.blob.filteredblob?view=azure-python), [link16](https://learn.microsoft.com/en-us/python/api/azure-storage-blob/azure.storage.blob.immutabilitypolicy?view=azure-python), [link17](https://learn.microsoft.com/en-us/python/api/azure-storage-blob/azure.storage.blob.leaseproperties?view=azure-python), [linK18](https://learn.microsoft.com/en-us/python/api/azure-storage-blob/azure.storage.blob.linearretry?view=azure-python), [link19](https://learn.microsoft.com/en-us/python/api/azure-storage-blob/azure.storage.blob.objectreplicationpolicy?view=azure-python), [link20](https://learn.microsoft.com/en-us/python/api/azure-storage-blob/azure.storage.blob.objectreplicationrule?view=azure-python), [link21](https://learn.microsoft.com/en-us/python/api/azure-storage-blob/azure.storage.blob.pagerange?view=azure-python), [link22](https://learn.microsoft.com/en-us/python/api/azure-storage-blob/azure.storage.blob.partialbatcherrorexception?view=azure-python), [link23](https://learn.microsoft.com/en-us/python/api/azure-storage-blob/azure.storage.blob.resourcetypes?view=azure-python), [link24](https://learn.microsoft.com/en-us/python/api/azure-storage-blob/azure.storage.blob.services?view=azure-python), [link25](https://learn.microsoft.com/en-us/python/api/azure-storage-blob/azure.storage.blob.storagestreamdownloader?view=azure-python)

![Image](https://github.com/user-attachments/assets/44db79cd-a183-4d88-9730-d8fea444aff6)
![Image](https://github.com/user-attachments/assets/25dedb6e-c6d2-49a7-9542-a586defdf271)
![Image](https://github.com/user-attachments/assets/afda472a-4235-41bc-97e4-2bd3c6268de2)
**Reason:**
Missing type annotations.

10.
**Package:**`azure-core`
**Section link:**

- https://learn.microsoft.com/en-us/python/api/azure-core/azure.core.pipeline.transport.requeststransportresponse?view=azure-python

![Image](https://github.com/user-attachments/assets/4fc3fa36-109b-480c-8c49-8a892795ca67)
**Reason:**
Missing type annotations.

11.
**Package:**`uamqp`
**Section link:**

- https://learn.microsoft.com/en-us/python/api/uamqp/uamqp?view=azure-python#uamqp-receive-message
Other links:
[link1](https://learn.microsoft.com/en-us/python/api/uamqp/uamqp.async_ops.client_async.amqpclientasync?view=azure-python#constructor), [link2](https://learn.microsoft.com/en-us/python/api/uamqp/uamqp.async_ops.client_async.amqpclientasync?view=azure-python#uamqp-async-ops-client-async-amqpclientasync-do-work-async), [link3](https://learn.microsoft.com/en-us/python/api/uamqp/uamqp.async_ops.client_async.receiveclientasync?view=azure-python#uamqp-async-ops-client-async-receiveclientasync-mgmt-request-async), [link4](https://learn.microsoft.com/en-us/python/api/uamqp/uamqp.async_ops.client_async.sendclientasync?view=azure-python#uamqp-async-ops-client-async-sendclientasync-do-work), [link5](https://learn.microsoft.com/en-us/python/api/uamqp/uamqp.async_ops.mgmt_operation_async.mgmtoperationasync?view=azure-python#constructor), [link6](https://learn.microsoft.com/en-us/python/api/uamqp/uamqp.async_ops.receiver_async.messagereceiverasync?view=azure-python#constructor), [link7](https://learn.microsoft.com/en-us/python/api/uamqp/uamqp.async_ops.receiver_async.messagereceiverasync?view=azure-python#uamqp-async-ops-receiver-async-messagereceiverasync-reset-link-credit), [link8](https://learn.microsoft.com/en-us/python/api/uamqp/uamqp?view=azure-python#uamqp-receive-message), [link9](https://learn.microsoft.com/en-us/python/api/uamqp/uamqp.address.target?view=azure-python), [link10](https://learn.microsoft.com/en-us/python/api/uamqp/uamqp.types?view=azure-python)

![Image](https://github.com/user-attachments/assets/4e1877c4-653d-4629-8774-eb256f9d033b)
**Reason:**
Missing type annotations.

12.
**Package:**`azure-ai-formrecognizer`
**Section link:**

- https://learn.microsoft.com/en-us/python/api/azure-ai-formrecognizer/azure.ai.formrecognizer.formpagerange?view=azure-python
- https://learn.microsoft.com/en-us/python/api/azure-ai-formrecognizer/azure.ai.formrecognizer.point?view=azure-python

![Image](https://github.com/user-attachments/assets/4ac6818b-9a98-4c97-b191-f605742a9f35)
**Reason:**
Missing type annotations.

13.
**Package:**`azure-ai-textanalytics`
**Section link:**

- https://learn.microsoft.com/en-us/python/api/azure-ai-textanalytics/azure.ai.textanalytics.detectlanguageinput?view=azure-python
- https://learn.microsoft.com/en-us/python/api/azure-ai-textanalytics/azure.ai.textanalytics.textdocumentinput?view=azure-python

![Image](https://github.com/user-attachments/assets/6714f56c-e688-4a6d-bc1c-dbcd172a53f4)
**Reason:**
Missing type annotations.

14.
**Package:**`azure-cosmos`
**Section link:**

- https://learn.microsoft.com/en-us/python/api/azure-cosmos/azure.cosmos.auth?view=azure-python
- https://learn.microsoft.com/en-us/python/api/azure-cosmos/azure.cosmos.connectionretrypolicy?view=azure-python
- https://learn.microsoft.com/en-us/python/api/azure-cosmos/azure.cosmos.cosmosdict?view=azure-python
- https://learn.microsoft.com/en-us/python/api/azure-cosmos/azure.cosmos.cosmoslist?view=azure-python
- https://learn.microsoft.com/en-us/python/api/azure-cosmos/azure.cosmos.partitionkey?view=azure-python

![Image](https://github.com/user-attachments/assets/7182dab1-ace7-417d-b4aa-f54626f77359)
**Reason:**
Missing type annotations.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.