Skip to content

pin option for add doesn't appear to do any pinning #336

@amias-channer

Description

@amias-channer

I am using ipfshttpclient with python 3.12.

I am calling:

results = client.add(*files , pin=True, cid_version=1, wrap_with_directory=True)

which is hitting my kubo node and this is working, however it doesn't seem to actually pin the files.

I can see in the code its passed as an option and is added to the client request as kwargs but i'm not sure its working as intended.

If i go in to kubo i can't see them and i have to go to the files section and add the CID manually before they show up in the files section

Do i need to manually pin each file ?

Thanks
Amias

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