Clean sheet
This commit is contained in:
parent
87539621e5
commit
5483035844
8 changed files with 0 additions and 96 deletions
|
@ -1,26 +0,0 @@
|
|||
"""
|
||||
The Flowmetal server entry point.
|
||||
"""
|
||||
|
||||
import click
|
||||
from flowmetal import (
|
||||
frontend,
|
||||
interpreter,
|
||||
reaper,
|
||||
scheduler,
|
||||
)
|
||||
|
||||
|
||||
@click.group()
|
||||
def cli():
|
||||
pass
|
||||
|
||||
|
||||
cli.add_command(frontend.cli, name="frontend")
|
||||
cli.add_command(interpreter.cli, name="interpreter")
|
||||
cli.add_command(scheduler.cli, name="scheduler")
|
||||
cli.add_command(reaper.cli, name="reaper")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
cli()
|
|
@ -1,28 +0,0 @@
|
|||
"""
|
||||
An abstract or base Flowmetal DB.
|
||||
"""
|
||||
|
||||
from abc import (
|
||||
abstractclassmethod,
|
||||
abstractmethod,
|
||||
)
|
||||
|
||||
|
||||
class Db(ABC):
|
||||
"""An abstract Flowmetal DB."""
|
||||
|
||||
@abstractclassmethod
|
||||
def connect(cls, config):
|
||||
"""Build and return a connected DB."""
|
||||
|
||||
@abstractmethod
|
||||
def disconnect(self):
|
||||
"""Disconnect from the underlying DB."""
|
||||
|
||||
def close(self):
|
||||
"""An alias for disconnect allowing for it to quack as a closable."""
|
||||
self.disconnect()
|
||||
|
||||
@abstractmethod
|
||||
def reconnect(self):
|
||||
"""Attempt to reconnect; either after an error or disconnecting."""
|
|
@ -1,3 +0,0 @@
|
|||
"""
|
||||
An implementation of the Flowmetal DB backed by Redis.
|
||||
"""
|
|
@ -1,9 +0,0 @@
|
|||
"""
|
||||
"""
|
||||
|
||||
import click
|
||||
|
||||
|
||||
@click.group()
|
||||
def cli():
|
||||
pass
|
|
@ -1,9 +0,0 @@
|
|||
"""
|
||||
"""
|
||||
|
||||
import click
|
||||
|
||||
|
||||
@click.group()
|
||||
def cli():
|
||||
pass
|
|
@ -1,3 +0,0 @@
|
|||
"""
|
||||
Somewhat generic models of Flowmetal programs.
|
||||
"""
|
|
@ -1,9 +0,0 @@
|
|||
"""
|
||||
"""
|
||||
|
||||
import click
|
||||
|
||||
|
||||
@click.group()
|
||||
def cli():
|
||||
pass
|
|
@ -1,9 +0,0 @@
|
|||
"""
|
||||
"""
|
||||
|
||||
import click
|
||||
|
||||
|
||||
@click.group()
|
||||
def cli():
|
||||
pass
|
Loading…
Reference in a new issue