Skip to content

Commit

Permalink
found some empty links within algorithm.py and fixed them pointing to…
Browse files Browse the repository at this point in the history
… the correct page of the vocabulary
  • Loading branch information
nh916 committed Sep 22, 2023
1 parent 85ead4e commit a6deaa2
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions src/cript/nodes/subobjects/algorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,16 @@ class JsonAttributes(UUIDBaseNode.JsonAttributes):

def __init__(self, key: str, type: str, parameter: Optional[List[Parameter]] = None, citation: Optional[List[Citation]] = None, **kwargs): # ignored
"""
create algorithm sub-object
Create algorithm sub-object
Parameters
----------
key : str
algorithm key must come from [CRIPT controlled vocabulary]()
algorithm key must come from
[CRIPT controlled vocabulary](https://app.criptapp.org/vocab/algorithm_key)
type : str
algorithm type must come from [CRIPT controlled vocabulary]()
algorithm type must come from
[CRIPT controlled vocabulary](https://app.criptapp.org/vocab/algorithm_type)
parameter : List[Parameter], optional
parameter sub-object, by default None
citation : List[Citation], optional
Expand Down Expand Up @@ -134,7 +136,8 @@ def key(self, new_key: str) -> None:
"""
set the algorithm key
> Algorithm key must come from [CRIPT Controlled Vocabulary]()
> Algorithm key must come from
[CRIPT Controlled Vocabulary](https://app.criptapp.org/vocab/algorithm_key)
Parameters
----------
Expand All @@ -149,7 +152,8 @@ def type(self) -> str:
"""
Algorithm type
> Algorithm type must come from [CRIPT controlled vocabulary]()
> Algorithm type must come from
[CRIPT controlled vocabulary](https://app.criptapp.org/vocab/algorithm_type)
Examples
--------
Expand Down

0 comments on commit a6deaa2

Please sign in to comment.