Skip to content

Commit

Permalink
chore: add versionadded
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjayankur31 committed May 30, 2024
1 parent 09fdbc5 commit d243bca
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 6 additions & 1 deletion neuroml/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,19 @@ def disable_build_time_validation():


def enable_build_time_validation():
"""Enable build time validation"""
"""Enable build time validation
.. versionadded:: 0.6.0
"""
build_time_validation.ENABLED = True
logger.info("Build time validation has been enabled.")


def get_build_time_validation() -> bool:
"""Get build time validation
.. versionadded:: 0.6.0
:returns: state of build time validation
:rtype: bool
"""
Expand Down
2 changes: 2 additions & 0 deletions neuroml/build_time_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
Split out into a separate module so that all the parts of the code can
access/modify it without the creation of circular dependencies.
.. versionadded:: 0.6.0
File: build_time_validation.py
Copyright 2024 NeuroML contributors
Expand Down

0 comments on commit d243bca

Please sign in to comment.