Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/Flagsmith/flagsmith
/ segment_rule
Function
segment_rule
api/tests/conftest.py:440–441 ·
view source on GitHub ↗
(segment)
Source
from the content-addressed store, hash-verified
438
439
@pytest.fixture()
440
def
segment_rule(segment):
# type: ignore[no-untyped-def]
441
return
SegmentRule.objects.create(segment=segment, type=SegmentRule.ALL_RULE)
442
443
444
@pytest.fixture()
Callers
nothing calls this directly
Calls
1
create
Method · 0.45
Tested by
no test coverage detected