create_project
Create a new dbnl Project
dbnl.create_project(
*,
name: str,
description: Optional[str] = None,
) -> :
Parameters
Arguments
Description
name
The name for the dbnl Project. Project names must be unique; an error will be raised if there exists a Project with the same name.
description
An optional description for the dbnl Project, defaults to None
. Description is limited to 255 characters.
Returns
Type
Description
The newly created dbnl Project.
Examples
import dbnl
dbnl.login()
proj_1 = dbnl.create_project(name="test_p1")
# DBNLConflictingProjectError: A DBNL Project with name test_p1 already exists.
proj_2 = dbnl.create_project(name="test_p1")
Was this helpful?