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

Method enable_manually

api_app/models.py:1123–1131  ·  view source on GitHub ↗

Manually enables the configuration for the organization. Args: user (User): The user who enabled the configuration.

(self, user: User)

Source from the content-addressed store, hash-verified

1121 self.save()
1122
1123 def enable_manually(self, user: User):
1124 """
1125 Manually enables the configuration for the organization.
1126
1127 Args:
1128 user (User): The user who enabled the configuration.
1129 """
1130 self.disabled_comment += f"\nEnabled back by {user.username} at {now().strftime('%Y-%m-%d %H:%M:%S')}"
1131 self.enable()
1132
1133 def enable(self):
1134 """

Callers 1

enable_in_orgMethod · 0.80

Calls 1

enableMethod · 0.95

Tested by

no test coverage detected