reverted the change to accept only keywords arguments and have user and password as mandatory.

This commit is contained in:
cschen 2024-10-16 16:46:41 +02:00
parent 3d12840459
commit 22cec4ab56

View file

@ -189,7 +189,7 @@ impl User {
#[pymethods]
impl Config {
#[new]
#[pyo3(signature = (username, password, **kwds))]
#[pyo3(signature = (*, username, password, **kwds))]
pub fn pynew(
username: String,
password: String,