pateash commented on PR #36935:
URL: https://github.com/apache/airflow/pull/36935#issuecomment-1999156115

   @eladkal some myPy checks are failing due to issues in azure/cosmos provider
   ```
   airflow/providers/microsoft/azure/hooks/cosmos.py:228: error: Argument
   "partition_key" to "create_container" of "DatabaseProxy" has incompatible 
type
   "Optional[str]"; expected "PartitionKey"  [arg-type]
                       collection_name, partition_key=partition_key
                                                      ^~~~~~~~~~~~~
   airflow/providers/microsoft/azure/hooks/cosmos.py:339: error: Argument
   "partition_key" to "delete_item" of "ContainerProxy" has incompatible type
   "Optional[str]"; expected
   "Union[str, int, float, bool, Sequence[Union[str, int, float, bool, None]], 
Type[NonePartitionKeyValue]]"
    [arg-type]
                   .delete_item(document_id, partition_key=partition_key)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to