Pre-flight checklist
Description
Workspace id seems to be a required positional argument to create_base, but workspaces aren't really supported in community edition. The URL ends up looking like /api/v2/meta/workspaces/war6r85m/bases (I looked up the id for the default workspace). It doesn't seem to matter whether I specify v2 or v3 when setting up the metadata client. I am able to successfully call list_bases().
Web transaction ends up looking like this:
send: b'POST /api/v2/meta/workspaces/nothingworkshere/bases HTTP/1.1\r\nHost: dabowdlerized.example.net\r\nUser-Agent: python-requests/2.34.2\r\nAccept-Encoding: gzip, deflate, br\r\nAccept: application/json\r\nConnection: keep-alive\r\nContent-Type: application/json\r\nxc-token: G4ytI1GBBl8AkeF7Mm_601M8N3bmdoqlS4F80Mid\r\nContent-Length: 52\r\n\r\n'
send: b'{"title": "Ramsay", "description": "William Ramsay"}'
reply: 'HTTP/1.1 404 Not Found\r\n'
Am I doing something stoopid here, or does the library not support the CE crippledness?
Thanks!
Steps to reproduce
import json
import logging
import nocodb_simple_client as nsc
import os
import re
import requests
import unicodedata
ndbh = nsc.NocoDBMetaClient(config=ncfg)
baseconf = { "title": newbasename, "description": newbasedescr }
baseh = ndbh.create_base("nothingworkshere", base_data=baseconf)
Expected behavior
If the library understands the crippled community edition, then I would expect a new base to be created.
Severity
High — major functionality broken
Affected version / commit
1.3.6
Environment
- OS: FreeBSD 15
- Python: 3.12.14
- NocoDB: 0.301.3 I think
Relevant logs or screenshots
Pre-flight checklist
Description
Workspace id seems to be a required positional argument to create_base, but workspaces aren't really supported in community edition. The URL ends up looking like /api/v2/meta/workspaces/war6r85m/bases (I looked up the id for the default workspace). It doesn't seem to matter whether I specify v2 or v3 when setting up the metadata client. I am able to successfully call list_bases().
Web transaction ends up looking like this:
Am I doing something stoopid here, or does the library not support the CE crippledness?
Thanks!
Steps to reproduce
Expected behavior
If the library understands the crippled community edition, then I would expect a new base to be created.
Severity
High — major functionality broken
Affected version / commit
1.3.6
Environment
Relevant logs or screenshots