MCPcopy Create free account
hub / github.com/Dispatcharr/Dispatcharr / save

Method save

apps/epg/models.py:114–119  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

112 return cache
113
114 def save(self, *args, **kwargs):
115 if 'update_fields' in kwargs and 'updated_at' not in kwargs['update_fields']:
116 kwargs.setdefault('update_fields', [])
117 if 'updated_at' in kwargs['update_fields']:
118 kwargs['update_fields'].remove('updated_at')
119 super().save(*args, **kwargs)
120
121 @property
122 def programme_index(self):

Callers 15

createMethod · 0.95
_set_proxy_settingsMethod · 0.45
create_dummy_epg_dataFunction · 0.45
updateMethod · 0.45
fetch_xmltvFunction · 0.45
parse_channels_onlyFunction · 0.45

Calls

no outgoing calls

Tested by 5

_set_proxy_settingsMethod · 0.36
setUpMethod · 0.36
setUpMethod · 0.36
setUpMethod · 0.36