MCPcopy Create free account
hub / github.com/Flagsmith/flagsmith / update

Method update

api/features/views.py:939–941  ·  view source on GitHub ↗
(self, request, *args, **kwargs)

Source from the content-addressed store, hash-verified

937 return super().create(request, *args, **kwargs)
938
939 def update(self, request, *args, **kwargs): # type: ignore[no-untyped-def]
940 require_direct_state_write_for_state(self.get_object())
941 return super().update(request, *args, **kwargs)
942
943 def get_queryset(self): # type: ignore[no-untyped-def]
944 if getattr(self, "swagger_fake_view", False):

Callers

nothing calls this directly

Calls 3

get_objectMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected