

def __init__(self, directory_uri=None, file_uri=None, **kwargs):
    'Constructor for the ExtractS3Step class\n\n        Args:\n            directory_uri(str): s3 path for s3 data directory\n            file_uri(str): s3 path for s3 data file\n            **kwargs(optional): Keyword arguments directly passed to base class\n        '
    if (not exactly_one(directory_uri, file_uri)):
        raise ETLInputError('One of file_uri or directory_uri needed')
    super(ExtractS3Step, self).__init__(**kwargs)
    if directory_uri:
        directory_uri = get_modified_s3_path(directory_uri)
        s3_path = S3Path(uri=directory_uri, is_directory=True)
    else:
        file_uri = get_modified_s3_path(file_uri)
        s3_path = S3Path(uri=s3_path)
    self._output = self.create_s3_data_node(s3_path)

dataset/ETHPy150Open coursera/dataduct/dataduct/steps/extract_s3.py ExtractS3Step.__init__/VarMisuse@99/258 `file_uri`->`s3_path`