Skip to content

Commit

Permalink
add init to DemistoMarkdownRender
Browse files Browse the repository at this point in the history
  • Loading branch information
inbalapt1 committed Jan 9, 2025
1 parent e97a3cd commit 7b428ca
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions content-repo/gen_pydocs.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,12 @@


class DemistoMarkdownRenderer(MarkdownRenderer):
func_prefix = Field(str, default=None)

def __init__(self, func_prefix=None, *args, **kwargs):
# Initialize func_prefix as an instance attribute
self.func_prefix = func_prefix
# Call the parent class constructor
super().__init__(*args, **kwargs)

module_overview = Field(str, default=None)

# Overriding header levels from MarkdownRenderer to Function header to level 2
Expand Down

0 comments on commit 7b428ca

Please sign in to comment.