MCPcopy Create free account
hub / github.com/intelowlproject/IntelOwl / enable

Method enable

api_app/models.py:1133–1142  ·  view source on GitHub ↗

Enables the configuration for the organization.

(self)

Source from the content-addressed store, hash-verified

1131 self.enable()
1132
1133 def enable(self):
1134 """
1135 Enables the configuration for the organization.
1136 """
1137 logger.info(f"Enabling back {self}")
1138 self.disabled = False
1139 self.disabled_comment = ""
1140 self.save()
1141 if self.rate_limit_enable_task:
1142 self.rate_limit_enable_task.delete()
1143
1144
1145class ListCachable(models.Model):

Callers 1

enable_manuallyMethod · 0.95

Calls 2

saveMethod · 0.45
deleteMethod · 0.45

Tested by

no test coverage detected