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/e/o/Eos-HEAD/fit/stat_tracker/tracker.py   Eos(Download)
from eos.const.eos import State
from eos.const.eve import Attribute
from eos.fit.tuples import DamageTypes, TankingLayers, TankingLayersTotal
from eos.util.volatile_cache import InheritableVolatileMixin, VolatileProperty
from .container import *
        except AttributeError:
            empty = DamageTypes(em=None, thermal=None, kinetic=None, explosive=None)
            return TankingLayers(hull=empty, armor=empty, shield=empty)
 
    def get_ehp(self, damage_profile):

src/e/o/Eos-HEAD/fit/holder/mixin/tanking.py   Eos(Download)
 
from eos.const.eve import Attribute
from eos.fit.tuples import TankingLayers, TankingLayersTotal, DamageTypes
from eos.util.override import OverrideDescriptor
from eos.util.volatile_cache import CooperativeVolatileMixin, VolatileProperty
            explosive=self.__get_resistance_by_attr(Attribute.shield_explosive_damage_resonance)
        )
        return TankingLayers(hull=hull, armor=armor, shield=shield)
 
    def __get_resistance_by_attr(self, attribute):