Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)

src/l/a/Lampost-Mud-HEAD/lampost/model/article.py   Lampost-Mud(Download)
from lampost.datastore.dbo import RootDBO, DBOField, DBOTField
from lampost.gameops.template import Template
from lampost.util.lmutil import plural
 
VOWELS = {'a', 'e', 'i', 'o', 'u'}
    def on_loaded(self):
        self.single_keys = target_keys(self)
        if self.divisible:
            self.plural_title = plural(self.title)
            self.plural_keys = set()
            for single_key in self.single_keys:
                self.plural_keys.add(single_key[:-1] + (plural(single_key[-1:][0]),))