Skip to content

Unit Test: upload_locality_set #7044

@realVinayak

Description

@realVinayak

def upload_locality_set(collection, column_headers: list[str], data: list[list[str]], progress: Optional[Progress] = None) -> Union[UploadSuccess, UploadParseError]:
to_upload, errors = parse_locality_set(
collection, column_headers, data, progress)
if len(errors) > 0:
return {
"type": "ParseError",
"errors": errors
}
return upload_from_parsed(to_upload, progress)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions