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

Function processMarketGroups

db_update.py:291–300  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

289 })
290
291 def processMarketGroups():
292 print('processing marketgroups')
293 data = _readData('fsd_built', 'marketgroups', keyIdName='marketGroupID')
294 map = {
295 'name_en-us': 'marketGroupName',
296 'description_en-us': '_description',
297 }
298 map.update({'name'+v: 'marketGroupName'+v for (k, v) in eos.config.translation_mapping.items() if k != 'en'})
299 map.update({'description' + v: '_description' + v for (k, v) in eos.config.translation_mapping.items() if k != 'en'})
300 _addRows(data, eos.gamedata.MarketGroup, fieldMap=map)
301
302 def processMetaGroups():
303 print('processing metagroups')

Callers 1

update_dbFunction · 0.85

Calls 4

_readDataFunction · 0.85
_addRowsFunction · 0.85
itemsMethod · 0.80
updateMethod · 0.45

Tested by

no test coverage detected