object
str
str
str
str
str
str
str
, Nonestr
str
) – URL of the server that this client will connect to.Property: team()
Property: db()
Property: user()
Property: branch()
Property: repo()
Property: ref()
str
) – Name of the team, default to be “admin”optional
, str
) – Name of the database connectedoptional
, str
) – Remote Auth settingoptional
, str
) – API key for connecting, default to be “root”optional
, str
) – Name of the user, default to be “admin”bool
) – Use token to connect. If both jwt_token and api_token is not provided (None), then it will use the ENV variable TERMINUSDB_ACCESS_TOKEN to connect as the API tokenoptional
, str
) – The Bearer JWT token to connect. Default to be None.optional
, strs
) – The API token to connect. Default to be None.optional
, str
) – Branch to be connected, default to be “main”optional
, str
) – Ref settingoptional
, str
) – Local or remote repo, default to be “local”None
None
int
, optional
) – maximum number of commit that would return, counting backwards from your current commit. Default is set to 500. It need to be nop-negitive, if input is 0 it will still give the last commit.None
str
) – Database identifer to set in the config.str
) – Team identifer to set in the config. If not passed in, it will use the current one.str
str
, optional
) – Branch or commit identifier.str
str
) – Unique identifier of the database.str
, optional
) – ID of the Team in which to create the DB (defaults to ‘admin’)str
, optional
) – Database name.str
, optional
) – Database description.optional
) – Optional dict containing "@base"
and "@schema"
keys.str
)doc:
prefixes are expanded. Defaults to terminusdb:///data
.str
)scm:
prefixes are expanded. Defaults to terminusdb:///schema
.bool
) – If True
, a main schema graph will be created, otherwise only a main instance graph will be created.None
team
is provided, then the team in the config will be updated and the new value will be used in future requests to the server.str
) – ID of the database to deletestr
, optional
) – the team in which the database resides (defaults to “admin”)bool
) –None
str
) – Graph type, either “instance” or “schema”.str
str
) – Graph type, either “instance” or “schema”.str
) – Commit message.None
str
) – Graph type, either “instance” or “schema”.str
) – Commit message.None
str
, optional
) – Graph type, either “instance” or “schema”.bool
) – If the result returned as list rather than an iterator.bool
) – If the data version of the document(s) should be obtained. If True, the method return the result and the version as a tuple.str
) – Iri id for the docuemnt that is retrivingstr
, optional
) – Graph type, either “instance” or “schema”.bool
) – If the data version of the document(s) should be obtained. If True, the method return the result and the version as a tuple.str
) – Specific type for the docuemnts that is retrivingstr
, optional
) – Graph type, either “instance” or “schema”.int
) – The starting posiion of the returning results, default to be 0int
* or *none
) – The maximum number of returned result, if None (default) it will return all of the avalible result.bool
) – If the result returned as list rather than an iterator.bool
) – If the version of the document(s) should be obtained. If True, the method return the result and the version as a tuple.str
, optional
) – Graph type, either “instance” or “schema”.int
) – The starting posiion of the returning results, default to be 0int
* or *none
) – The maximum number of returned result, if None (default) it will return all of the avalible result.bool
) – If the result returned as list rather than an iterator.bool
) – If the version of the document(s) should be obtained. If True, the method return the result and the version as a tuple.str
) – Graph type, either “inference”, “instance” or “schema”.str
) – Commit message.str
) – Last version before the update, used to check if the document has been changed unknowinglystr
) – Graph type, either “instance” or “schema”.str
) – Commit message.str
) – Last version before the update, used to check if the document has been changed unknowinglybool
) – Create the document if it does not yet exist.None
str
) – Graph type, either “instance” or “schema”.str
) – Commit message.str
) – Last version before the update, used to check if the document has been changed unknowinglyNone
str
* or **list of str
*) – Document(s) (as dictionary or DocumentTemplate objects) or id(s) of document(s) to be updated.str
) – Graph type, either “instance” or “schema”.str
) – Commit message.str
) – Last version before the update, used to check if the document has been changed unknowinglyNone
str
) – Id of document to be checked.str
) – Graph type, either “instance” or “schema”.str
) – Name of the classstr
) – A message that will be written to the commit log to describe the changebool
) – If the data version of the query result(s) should be obtained. If True, the method return the result and the version as a tuple.str
) – Last version before the update, used to check if the document has been changed unknowinglystr
) – New branch identifier.bool
) – Create an empty branch if true (no starting commit)None
str
) – Branch to deleteNone
str
) – remote to pull from, default “origin”str
, optional
) – remote branch to pull from, default to be your current barnchstr
, optional
) – optional commit messagestr
, optional
) – option to overide the author of the operationstr
) – id of the remotedict
str
) – remote to push to, default “origin”str
, optional
) – remote branch to push to, default to be your current barnchstr
, optional
) – optional commit messagestr
, optional
) – option to overide the author of the operationstr
, optional
) – the branch for the rebasestr
, optional
) – the source branch for the rebasestr
, optional
) – the commit messagestr
, optional
) – the commit authorbool
) – Flag indicating if the reset if soft, that is referencing to a previous commit instead of resetting to a previous commit in the backend and wipping newer commits.bool
) – Wheather or not the commit given is an id or path. Default using id and use_path is False.None
None
bool
) – Perform reset after squashstr
str
) – The source url of the repo to be cloned.str
) – Identifier of the new repository to create.str
, optional
) – Optional description about the cloned database.None
str
:param dbid: The id of the database :type dbid: str