twinlab.set_server_url#
- twinlab.set_server_url(url, verbose=False)[source]#
Set the server URL for twinLab.
If this is not set the default URL is used:
https://twinlab.digilab.co.uk/v3
. This default URL will be correct for most users and should not normally need to be changed. Setting this will override the URL set in the environment variableTWINLAB_URL
in the.env
file for the current session.- Parameters:
- Return type:
Example
# Setting the server to test a beta feature tl.set_server_url("https://twinlab.digilab.co.uk/v3/beta")