Skip to content

Commit 7da63fc

Browse files
committed
Add default for URL
1 parent 8571d9f commit 7da63fc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

python/hdfs_native/__init__.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,11 @@ def __exit__(self, *_args):
8888

8989
class Client:
9090

91-
def __init__(self, url: Optional[str], config: Optional[Dict[str, str]] = None):
91+
def __init__(
92+
self,
93+
url: Optional[str] = None,
94+
config: Optional[Dict[str, str]] = None,
95+
):
9296
self.inner = RawClient(url, config)
9397

9498
def get_file_info(self, path: str) -> "FileStatus":

0 commit comments

Comments
 (0)