Skip to content

Commit

Permalink
Merge branch 'main' into check-copyright-notices
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesbvll authored Jun 20, 2024
2 parents 10b8084 + 2f88800 commit fa6dcb8
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/py/flwr/server/superlink/state/state_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,16 @@


class StateFactory:
"""Factory class that creates State instances."""
"""Factory class that creates State instances.
Parameters
----------
database : str
A string representing the path to the database file that will be opened.
Note that passing ':memory:' will open a connection to a database that is
in RAM, instead of on disk. For more information on special in-memory
databases, please refer to https://sqlite.org/inmemorydb.html.
"""

def __init__(self, database: str) -> None:
self.database = database
Expand Down

0 comments on commit fa6dcb8

Please sign in to comment.