mewhrzad / marzpy

A Python library that helps you easily use Marzban's API panel
MIT License
98 stars 27 forks source link

Easy enabling/disabling user #6

Closed ultraleks closed 7 months ago

ultraleks commented 10 months ago

Hello, community! Tell me, please, can i enable user in Marzban by Marzpy without sending all required parameters? I need to send method 'modify_user' with all proxies and inbounds, but enabling or disabling user is elementary action and can i do it by sending request only with username? If i sending 'modify_user' without proxies and inbounds i get: TypeError: User.__init__() missing 2 required positional arguments: 'proxies' and 'inbounds'

mewhrzad commented 7 months ago

solved in new v0.0.3