Skip to content

Commit

Permalink
add doc about keyword-only
Browse files Browse the repository at this point in the history
  • Loading branch information
bdpedigo committed Apr 8, 2024
1 parent 0fd88bd commit 648cec8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions caveclient/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,10 @@ def _check_version_compatibility(
server versions. If the server version is not compatible with the constraint, an
error will be raised.
Note that methods being decorated must use keyword-only arguments for the keywords
that are being checked for compatibility. The decorator also assumes that the first
argument of the method is the client instance (self).
Parameters
----------
method
Expand Down

0 comments on commit 648cec8

Please sign in to comment.