Skip to content

Commit

Permalink
Switch classes to AbstractMethod
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgate committed Nov 9, 2021
1 parent fbe9919 commit 3dc312d
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 26 deletions.
5 changes: 5 additions & 0 deletions doc/source/AbstractMethod.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
AbstractMethod Class Reference
==============================

.. autoexception:: shelllogger.AbstractMethod.AbstractMethod
:noindex:
14 changes: 14 additions & 0 deletions doc/source/ShellLogger.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,17 @@ ShellLogger Class Reference

.. autoclass:: shelllogger.ShellLogger
:noindex:

JSON Serialization
------------------

.. autoclass:: shelllogger.ShellLoggerDecoder
:noindex:

.. todo::

Figure out why the documentation below is pulling in the docstring for the
base class as well.

.. autoclass:: shelllogger.ShellLoggerEncoder
:noindex:
23 changes: 0 additions & 23 deletions doc/source/classes.rst

This file was deleted.

2 changes: 1 addition & 1 deletion doc/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ shelllogger
Shell
StatsCollector
Trace
classes
AbstractMethod
util
todo

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/shelllogger/StatsCollector.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python3

from __future__ import annotations
from .classes import AbstractMethod
from .AbstractMethod import AbstractMethod
from abc import abstractmethod
from multiprocessing import Process
from multiprocessing.managers import SyncManager
Expand Down
2 changes: 1 addition & 1 deletion src/shelllogger/Trace.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python3

from __future__ import annotations
from .classes import AbstractMethod
from .AbstractMethod import AbstractMethod
from abc import abstractmethod
from pathlib import Path

Expand Down

0 comments on commit 3dc312d

Please sign in to comment.