Returns a list of namespaces associated with the current user. To get all namespaces, send a GET request to /v2/functions/namespaces
.
import os
from pydo import Client
client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))
resp = client.functions.list_namespaces()
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.