I hereby claim:
- I am dsludwig on github.
- I am dsludwig (https://keybase.io/dsludwig) on keybase.
- I have a public key ASCt0Q7AC9DUiqfMOCIYJ0RSipOtwZUupaVZ-H-Xop1P8Qo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
customPodHook: | | |
import sys | |
from kubernetes import client | |
from kubernetes.client.rest import ApiException | |
from kubespawner.clients import shared_client | |
from tornado import gen | |
@gen.coroutine | |
def modify_pod_hook(spawner, pod): |
from schematics import types | |
from schematics import models | |
from schematics import exceptions | |
class PermissiveType(object): | |
def to_native(self, value, context=None): | |
try: | |
return super(PermissiveType, self).to_native(value, context) | |
except exceptions.BaseError: | |
return value |