示例#1
0
def etag_of_folder(folder: CREFolder) -> ETags:
    return constructors.etag_of_dict(
        {
            "path": folder.path(),
            "attributes": folder.attributes(),
            "hosts": folder.host_names(),
        }
    )
示例#2
0
def etag_of_folder(folder: CREFolder) -> ETags:
    return constructors.etag_of_dict({
        'path': folder.path(),
        'attributes': folder.attributes(),
        'hosts': folder.host_names(),
    })