-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Closed
Labels
StorageStorage Service (Queues, Blobs, Files)Storage Service (Queues, Blobs, Files)bugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Description
- Package Name: azure.storage.datalake
- Package Version: 12.3.1
- Operating System: Any
- Python Version: 3.5+
Describe the bug
Attempt to create PathProperties with kwargs raises TypeError: object.__init__() takes no parameters
That makes mocking DataLike in test difficult
To Reproduce
Steps to reproduce the behavior:
- Run python REPL
- Execute following code
from azure.storage.filedatalake import PathProperties
PathProperties(name="bla")Result
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/<user>/.pyenv/versions/3.5.7/lib/python3.5/site-packages/azure/storage/filedatalake/_models.py", line 231, in __init__
**kwargs
TypeError: object.__init__() takes no parameters
Expected behavior
PathProperties object returned
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
StorageStorage Service (Queues, Blobs, Files)Storage Service (Queues, Blobs, Files)bugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that