mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-25 08:34:47 +01:00
reverted the change to accept only keywords arguments and have user and password as mandatory.
This commit is contained in:
parent
3d12840459
commit
22cec4ab56
1 changed files with 2 additions and 2 deletions
|
@ -189,7 +189,7 @@ impl User {
|
||||||
#[pymethods]
|
#[pymethods]
|
||||||
impl Config {
|
impl Config {
|
||||||
#[new]
|
#[new]
|
||||||
#[pyo3(signature = (username, password, **kwds))]
|
#[pyo3(signature = (*, username, password, **kwds))]
|
||||||
pub fn pynew(
|
pub fn pynew(
|
||||||
username: String,
|
username: String,
|
||||||
password: String,
|
password: String,
|
||||||
|
|
Loading…
Reference in a new issue