Skip to content

Conversation

alex-berlin-tv
Copy link
Contributor

The new upload_file method allows a local file to be uploaded to NocoDB and assigned to a field with the attachment type. The upload is done in two steps: First, the file is transferred to the NocoDB server using the upload endpoint (https://apis.nocodb.com/#tag/Storage/operation/storage-upload) of the Meta-Api. Then, with the help of table_row_update, the specified field is linked to the uploaded file.

This omits the Pyright warning when an APIToken/JWAuthToken is used in the
creation of a new NocoDBRequests instance.
…achment field.

The new upload_file method allows a local file to be uploaded to NocoDB and assigned
to a field with the attachment type. The upload is done in two steps: First, the file
is transferred to the NocoDB server using the upload endpoint
(https://apis.nocodb.com/#tag/Storage/operation/storage-upload) of the Meta-Api. Then,
with the help of table_row_update, the specified field is linked to the uploaded file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants