Clean sheet

This commit is contained in:
Reid 'arrdem' McKenzie 2023-03-07 18:56:43 -07:00
parent 87539621e5
commit 5483035844
8 changed files with 0 additions and 96 deletions

View file

@ -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()

View file

@ -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."""

View file

@ -1,3 +0,0 @@
"""
An implementation of the Flowmetal DB backed by Redis.
"""

View file

@ -1,9 +0,0 @@
"""
"""
import click
@click.group()
def cli():
pass

View file

@ -1,9 +0,0 @@
"""
"""
import click
@click.group()
def cli():
pass

View file

@ -1,3 +0,0 @@
"""
Somewhat generic models of Flowmetal programs.
"""

View file

@ -1,9 +0,0 @@
"""
"""
import click
@click.group()
def cli():
pass

View file

@ -1,9 +0,0 @@
"""
"""
import click
@click.group()
def cli():
pass