aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/psi/psi.py
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2024-02-24 12:48:55 +0800
committer简律纯 <i@jyunko.cn>2024-02-24 12:48:55 +0800
commitae345a2f193a4d6022edda76523a39f6e891843e (patch)
treefbe13a483db44dbb4ac222f1cd29583edda9341f /psi/psi.py
parent9b916be9c8db9eedabde0331aef0cc53b5918b34 (diff)
downloadTRPGNivis-ae345a2f193a4d6022edda76523a39f6e891843e.tar.gz
TRPGNivis-ae345a2f193a4d6022edda76523a39f6e891843e.zip
refactor!: rewrite python package
Diffstat (limited to 'psi/psi.py')
-rw-r--r--psi/psi.py69
1 files changed, 0 insertions, 69 deletions
diff --git a/psi/psi.py b/psi/psi.py
deleted file mode 100644
index 8df0acd..0000000
--- a/psi/psi.py
+++ /dev/null
@@ -1,69 +0,0 @@
-
-from psi.execution import Execution
-
-__all__ = ['psi']
-
-class psi:
- """
- A class representing a Psi object.
-
- Args:
- input: The input value for the Psi object.
-
- Returns:
- None
-
- Example:
- ```python
- obj = Psi("example")
- ```
- """
-
- def __init__(self, input):
- """
- Initializes a Psi object.
-
- Args:
- input: The input value for the Psi object.
-
- Returns:
- None
- """
- self.input = input
- self.execution = Execution(input)
- self.result = None
-
- def execute(self):
- """
- Executes the Psi object.
-
- Returns:
- The result of the execution.
- """
- self.result = self.execution.execute()
- return self.result
-
- def get_result(self):
- """
- Retrieves the result of the Psi object.
-
- Returns:
- The result of the execution.
- """
- return self.result
-
- def set_input(self, input):
- """
- Sets the input value for the Psi object.
-
- Args:
- input: The new input value.
-
- Returns:
- None
- """
- self.input = input
- self.execution = Execution(input)
- self.result = None
-
-