diff --git a/.pyre_configuration b/.pyre_configuration index 77f6924..c398dc6 100644 --- a/.pyre_configuration +++ b/.pyre_configuration @@ -59,5 +59,5 @@ "." ], "strict": true, - "version": "0.0.101710846845" + "version": "0.0.101720437199" } diff --git a/sapp/pipeline/database_saver.py b/sapp/pipeline/database_saver.py index ef4ac1e..9ea0ab8 100644 --- a/sapp/pipeline/database_saver.py +++ b/sapp/pipeline/database_saver.py @@ -35,7 +35,6 @@ TRun = TypeVar("TRun", bound=Run) -# pyre-fixme[13]: Attribute `summary` is never initialized. class DatabaseSaver(PipelineStep[TraceGraph, RunSummary], Generic[TRun]): def __init__( self, @@ -55,7 +54,9 @@ def __init__( self.primary_key_generator, extra_saving_classes=extra_saving_classes ) self.dry_run = dry_run + # pyre-fixme[13]: Attribute `graph` is never initialized. self.graph: TraceGraph + # pyre-fixme[13]: Attribute `summary` is never initialized. self.summary: Summary @log_time diff --git a/sapp/pipeline/model_generator.py b/sapp/pipeline/model_generator.py index a43c9db..82d170f 100644 --- a/sapp/pipeline/model_generator.py +++ b/sapp/pipeline/model_generator.py @@ -51,8 +51,6 @@ log: logging.Logger = logging.getLogger("sapp") -# pyre-fixme[13]: Attribute `graph` is never initialized. -# pyre-fixme[13]: Attribute `summary` is never initialized. class ModelGenerator(PipelineStep[DictEntries, TraceGraph]): def __init__( self, @@ -62,7 +60,9 @@ def __init__( skip_traces: bool = False, ) -> None: super().__init__() + # pyre-fixme[13]: Attribute `summary` is never initialized. self.summary: Summary + # pyre-fixme[13]: Attribute `graph` is never initialized. self.graph: TraceGraph self.visited_frames: Dict[int, Set[int]] = {} # frame id -> leaf ids self.record_meta_run_issue_instances: bool = record_meta_run_issue_instances diff --git a/sapp/pipeline/propagate_context_to_leaf_frames.py b/sapp/pipeline/propagate_context_to_leaf_frames.py index cf447d9..d5a273d 100644 --- a/sapp/pipeline/propagate_context_to_leaf_frames.py +++ b/sapp/pipeline/propagate_context_to_leaf_frames.py @@ -27,7 +27,7 @@ def __init__(self) -> None: TaintKindToState = Dict[int, PerTaintKindState] -class PropagateContextToLeafFrames(PipelineStep[TraceGraph, TraceGraph]): # pyre-fixme[13] +class PropagateContextToLeafFrames(PipelineStep[TraceGraph, TraceGraph]): """For all issues matching a certain code, propagate features matching a pattern to all reachable leaf frames for a particular frame_kind.""" @@ -35,7 +35,9 @@ def __init__( self, issue_code: int, feature_pattern: str, frame_kind: TraceKind ) -> None: super().__init__() + # pyre-fixme[13]: Attribute `summary` is never initialized. self.summary: Summary + # pyre-fixme[13]: Attribute `graph` is never initialized. self.graph: TraceGraph self.feature_pattern = feature_pattern self.issue_code = issue_code diff --git a/sapp/pipeline/propagate_to_crtex_anchors.py b/sapp/pipeline/propagate_to_crtex_anchors.py index 5324777..541d3c2 100644 --- a/sapp/pipeline/propagate_to_crtex_anchors.py +++ b/sapp/pipeline/propagate_to_crtex_anchors.py @@ -26,14 +26,16 @@ def __init__(self) -> None: SinkToState = Dict[int, PerSinkState] -class PropagateToCRTEXAnchors(PipelineStep[TraceGraph, TraceGraph]): # pyre-fixme[13] +class PropagateToCRTEXAnchors(PipelineStep[TraceGraph, TraceGraph]): """For all issues propagate source kinds and features to all reachable frames leading to sinks and propagate features to leaf sinks with anchor ports. """ def __init__(self, propagate_sources: bool, propagate_features: bool) -> None: super().__init__() + # pyre-fixme[13]: Attribute `summary` is never initialized. self.summary: Summary + # pyre-fixme[13]: Attribute `graph` is never initialized. self.graph: TraceGraph self.propagate_sources = propagate_sources self.propagate_features = propagate_features diff --git a/sapp/ui/issues.py b/sapp/ui/issues.py index 037eb9f..fb3169b 100644 --- a/sapp/ui/issues.py +++ b/sapp/ui/issues.py @@ -55,8 +55,8 @@ class SimilarIssueResultType(graphene.ObjectType): score = graphene.Float() -# pyre-ignore[13]: unitialized class attribute class IssueQueryResultType(graphene.ObjectType): + # pyre-fixme[13]: Attribute `concatenated_features` is never initialized. concatenated_features: str class Meta: