- 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
Describe the bug
Attempt to create PathProperties with kwargs raises
TypeError: object.__init__() takes no parametersThat makes mocking DataLike in test difficult
To Reproduce
Steps to reproduce the behavior:
Result
Expected behavior
PathProperties object returned