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

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

src/e/o/Eos-HEAD/tests/environment.py   Eos(Download)
from logging import getLogger, ERROR, INFO, WARNING
 
from eos.data.cache_handler.exception import TypeFetchError, AttributeFetchError, EffectFetchError
from eos.data.cache_object import Attribute, Effect, Type
 
    def get_type(self, type_id):
        try:
            return self.__type_data[type_id]
        except KeyError:
            raise TypeFetchError(type_id)