add_resource

add_resource(resource: Resource) None[source]

Add a resource.