Skip to content

Commit

Permalink
Merge branch 'main' into COG-597-refactor-analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
Vasilije1990 authored Nov 16, 2024
2 parents 2703215 + 8c0c0b9 commit d1e9870
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cognee/shared/SourceCodeGraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Class(DataPoint):
description: str
constructor_parameters: List[Variable]
extended_from_class: Optional["Class"] = None
has_methods: list["Function"]
has_methods: List["Function"]

_metadata = {
"index_fields": ["name"]
Expand Down Expand Up @@ -89,7 +89,8 @@ class SourceCodeGraph(DataPoint):
Operator,
Expression,
]]

Class.model_rebuild()
ClassInstance.model_rebuild()
Expression.model_rebuild()
FunctionCall.model_rebuild()
SourceCodeGraph.model_rebuild()

0 comments on commit d1e9870

Please sign in to comment.