File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -970,9 +970,6 @@ def track(
970970 :param tracking_event_details: Optional data relevant to the tracking event
971971 """
972972
973- if not hasattr (self .provider , "track" ):
974- return
975-
976973 if evaluation_context is None :
977974 evaluation_context = EvaluationContext ()
978975
Original file line number Diff line number Diff line change @@ -83,11 +83,3 @@ def resolve_object_details(
8383 reason = Reason .DEFAULT ,
8484 variant = PASSED_IN_DEFAULT ,
8585 )
86-
87- def track (
88- self ,
89- tracking_event_name : str ,
90- evaluation_context : EvaluationContext | None = None ,
91- tracking_event_details : TrackingEventDetails | None = None ,
92- ) -> None :
93- pass
Original file line number Diff line number Diff line change @@ -663,7 +663,6 @@ def test_tracking_merges_evaluation_contexts():
663663
664664def test_should_noop_if_provider_does_not_support_tracking (monkeypatch ):
665665 provider = NoOpProvider ()
666- monkeypatch .delattr (NoOpProvider , "track" , False )
667666 set_provider (provider )
668667 client = get_client ()
669668 client .track (tracking_event_name = "test" )
You can’t perform that action at this time.
0 commit comments