File tree Expand file tree Collapse file tree 2 files changed +4
-12
lines changed
packages/plugins/minos-broker-rabbitmq/minos/plugins/rabbitmq Expand file tree Collapse file tree 2 files changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -33,8 +33,8 @@ def __init__(
3333 * args ,
3434 host : Optional [str ] = None ,
3535 port : Optional [int ] = None ,
36- user : Optional [ str ] = None ,
37- password : Optional [ str ] = None ,
36+ user : str = None ,
37+ password : str = None ,
3838 ** kwargs ,
3939 ):
4040 super ().__init__ (* args , ** kwargs )
@@ -43,10 +43,6 @@ def __init__(
4343 host = "localhost"
4444 if port is None :
4545 port = 5672
46- if user is None :
47- user = "guest"
48- if password is None :
49- password = "guest"
5046
5147 self .host = host
5248 self .port = port
Original file line number Diff line number Diff line change @@ -47,8 +47,8 @@ def __init__(
4747 topics : Iterable [str ],
4848 host : Optional [str ] = None ,
4949 port : Optional [int ] = None ,
50- user : Optional [ str ] = None ,
51- password : Optional [ str ] = None ,
50+ user : str = None ,
51+ password : str = None ,
5252 ** kwargs ,
5353 ):
5454 super ().__init__ (topics , ** kwargs )
@@ -57,10 +57,6 @@ def __init__(
5757 host = "localhost"
5858 if port is None :
5959 port = 5672
60- if user is None :
61- user = "guest"
62- if password is None :
63- password = "guest"
6460
6561 self .host = host
6662 self .port = port
You can’t perform that action at this time.
0 commit comments