MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / fetchDynamicItem

Function fetchDynamicItem

service/port/muta.py:102–110  ·  view source on GitHub ↗
(dynamicItemData)

Source from the content-addressed store, hash-verified

100
101
102def fetchDynamicItem(dynamicItemData):
103 typeID, itemID = dynamicItemData
104 esiData = EsiAccess().getDynamicItem(typeID, itemID).json()
105 baseItemID = esiData['source_type_id']
106 mutaplasmidID = esiData['mutator_type_id']
107 attrs = {i['attribute_id']: i['value'] for i in esiData['dogma_attributes']}
108 baseItem = fetchItem(baseItemID)
109 mutaplasmid = getDynamicItem(mutaplasmidID)
110 return baseItem, mutaplasmid, attrs

Callers 1

importAutoMethod · 0.90

Calls 4

EsiAccessClass · 0.90
fetchItemFunction · 0.90
getDynamicItemFunction · 0.90
getDynamicItemMethod · 0.80

Tested by

no test coverage detected