Warning, this new version does introduce two breaking changes:
This does introduce a breaking change, where people with old code will have to switch the order of the arguments from pst.PastaStore(name, connector) to pst.PastaStore(connector, name=name) with the name becoming optional.
Also in pst.PasConnector the name argument is now used to specify the directory name in which the database will be stored. The path argument defines the location of that directory. This is also a breaking change and will require users to modify their PasConnector from pst.PasConnector("unused_name", path="./pastas_db") to pst.PasConnector("pastas_db", path="."). This is more in line with the other Connectors.
Some minor improvements to testing, coverage and documentation are also included.
Deals with #85 and #87.
Warning, this new version does introduce two breaking changes:
pst.PastaStore(name, connector)
topst.PastaStore(connector, name=name)
with the name becoming optional.pst.PasConnector
thename
argument is now used to specify the directory name in which the database will be stored. Thepath
argument defines the location of that directory. This is also a breaking change and will require users to modify theirPasConnector
frompst.PasConnector("unused_name", path="./pastas_db")
topst.PasConnector("pastas_db", path=".")
. This is more in line with the other Connectors.Some minor improvements to testing, coverage and documentation are also included.