Skip to content

Commit

Permalink
Update docstring in extensions.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dalonsoa committed Sep 5, 2024
1 parent 165d42a commit d457baf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions wsimod/extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@
It should be noted that the patched function should have the same signature as the
original method or attribute, and the return type should be the same as well, otherwise
there will be a runtime error.
Finally, the `apply_patches` is called within the `Model.load` method and will apply all
patches in the order they were registered. This means that users need to be careful with
the order of the patches in their extensions files, as they may have interdependencies.
TODO: Update documentation on extensions files.
"""

from typing import Callable, Hashable
Expand Down

0 comments on commit d457baf

Please sign in to comment.