Did I find the right examples for you? yes no

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/d/j/Django-Select2-Py3-4.2.1/django_select2/db_client.py   Django-Select2-Py3(Download)
from .models import KeyMap
 
class Client(object):
 
    def set(self, key, value):
        o = self.get(key)
        if o is None:
            o = KeyMap()
            o.key = key
 

src/d/j/Django-Select2-4.2.2/django_select2/db_client.py   Django-Select2(Download)
from models import KeyMap
 
class Client(object):
 
    def set(self, key, value):
        o = self.get(key)
        if o is None:
            o = KeyMap()
            o.key = key