Skip to content

Commit

Permalink
add property and desc for property feature
Browse files Browse the repository at this point in the history
  • Loading branch information
harshit-wadhwani committed Oct 4, 2024
1 parent 6f58097 commit 187b31f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion capa/features/freeze/features.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,8 @@ class APIFeature(FeatureModel):
class PropertyFeature(FeatureModel):
type: Literal["property"] = "property"
access: Optional[str] = None

property: str
description: Optional[str] = None

class NumberFeature(FeatureModel):
type: Literal["number"] = "number"
Expand Down

0 comments on commit 187b31f

Please sign in to comment.