Skip to content

Commit

Permalink
[Core] Document all exported core methods with type hints
Browse files Browse the repository at this point in the history
Standardize docstrings in core.py to google standard.
Remove type hints in docstrings in favor of the ones in method signatures.

Use function signature type hints in autodoc generated docs.

Change Deferred type hints to strings.

Older versions of twisted (<21.7) don't
support generic Deferred type hinting,
this prevents crashes on those versions.

Closes: #359
  • Loading branch information
gazpachoking authored and cas-- committed Feb 11, 2022
1 parent aa74261 commit dabb505
Show file tree
Hide file tree
Showing 4 changed files with 166 additions and 170 deletions.
Loading

0 comments on commit dabb505

Please sign in to comment.