Skip to content

handle incorrect length/precision in attr set_type #95

@Semprini

Description

@Semprini
try:
    attr.set_type(attr_type.strip())
except ValueError as e:
    logging.error(f"Unable to set type of attribute '{name}' in class '{parent.package.path}/{parent.name}'.")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions