get_file_key method

On this page

get_file_key

Returns unique identifier for the cache entry that represents file.

def get_file_key(cls, extension):
    ...
Parameter Type Description
extension str The filename suffix (including the period “.”) e.g. “.doc”.

Returns: str: Unique identifier for the cache entry that represents file.

Raises Description
ValueError If extension is None or empty.

See Also

On this page