Skip to content

Commit

Permalink
Update API Documentation: Change Parameter Type from "string" to "str…
Browse files Browse the repository at this point in the history
…" in Comments for Python Consistency (#460)

* Create jekyll-gh-pages.yml

* Update fragility_curve.py (API Docs edit)

In the class "State": 
In the comments, change "string" to "str" so that the parameter type is linked to the python docs in the API documentation.

* Delete .github/workflows/jekyll-gh-pages.yml
  • Loading branch information
wDushanin authored Nov 26, 2024
1 parent eda4c89 commit 0badb0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wntr/scenario/fragility_curve.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def __init__(self, name, priority=0.0, distribution={}):
"""
Parameters
-----------
name : string
name : str
Name of the damage state
priority : int
Expand Down

0 comments on commit 0badb0b

Please sign in to comment.