How do I know if certain calls made using python k8s client are blocking or non-blocking?

Example creation of namespace. How do I know if the below is going to make a blocking or non-blocking call? Basically async or sync operation?

v1 = client.CoreV1Api()
body = client.V1Namespace(metadata=client.V1ObjectMeta(name=namespace_name))
include_uninitialized = True
pretty = "true"
try:
    api_response = v1.create_namespace(body, pretty=pretty)
    pprint(api_response)
    return api_response
except Exception as e:
    raise e

Perhaps I’m missing something obvious, sorry in advance.

But if you don’t have any callback/way to check what happened with what you requested, I don’t see how it can be async. I don’t really know it, but I’d bet it is sync :slight_smile: