Exemple #1
0
def create_dataclass_fullpath(dc: dataclass) -> dataclass:
    """Create the full path from the info within the dataclass"""
    full_path = "gs://" + dc.bucket_name + "/" + dc.filename
    dc.full_path = full_path
    return dc
Exemple #2
0
def store_tiff_to_bytes(dc: dataclass) -> dataclass:
    """Create the full path from the info within the dataclass"""
    full_path = "gs://" + dc.bucket_name + "/" + dc.filename
    dc.full_path = full_path
    return dc