Skip to content

.pin_upload without title will say title='...: a pinned str object' for non-strings #346

@nathanjmcdougall

Description

@nathanjmcdougall

This traces through to _pin_store where it replaces x with a string representation of the file path, so then when passed through to BaseBoard._create_meta on the line title = create_adaptor(x).default_title(name) where it creates the title based on the string type instead of the original x value.

I think a simple solution would just be to replace a title of None with create_adaptor(x).default_title(name) in the .pin_upload function, at a higher level.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions