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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to