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

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

src/l/a/Lampost-Mud-HEAD/lampost/model/article.py   Lampost-Mud(Download)
from lampost.datastore.auto import TemplateField
from lampost.gameops.script import Scriptable
from lampost.model.item import BaseItem, target_keys
from lampost.gameops.action import ActionError
from lampost.datastore.dbo import RootDBO, DBOField, DBOTField
    def on_loaded(self):
        self.single_keys = target_keys(self)
        if self.divisible:
            self.plural_title = plural(self.title)
            self.plural_keys = set()

src/l/a/Lampost-Mud-HEAD/lampost/model/mobile.py   Lampost-Mud(Download)
from lampost.datastore.dbo import RootDBO, DBOField
from lampost.gameops.template import Template
from lampost.model.entity import Entity
from lampost.model.item import target_keys
 
    def on_loaded(self):
        self.target_keys = target_keys(self)
 
 
class Mobile(Entity):