def V1PodTemplateSpec(labels: Labels) -> client.V1PodTemplateSpec:
  """Make Kubernetes API template spec response, see V1PodTemplateSpec.

  https://github.com/kubernetes-client/python/blob/master/kubernetes/docs/V1PodTemplateSpec.md
  """
  return client.V1PodTemplateSpec(metadata=V1ObjectMeta(labels=labels))
Make Kubernetes API template spec response, see V1PodTemplateSpec.

https://github.com/kubernetes-client/python/blob/master/kubernetes/docs/V1PodTemplateSpec.md
tests/providers/kubernetes/k8s_mocks.py