Closed mvenditto closed 5 months ago
A couple notes:
Thanks!
hey this looks great! will take a further look later in the week and we'll get this merged, thanks a bunch for the work on this!! grazie a te! (Scusami, vedo l'Italia nella tua bio e sto imparando l'italiano... allora... figured I could try some :))
hey this looks great! will take a further look later in the week and we'll get this merged, thanks a bunch for the work on this!! grazie a te! (Scusami, vedo l'Italia nella tua bio e sto imparando l'italiano... allora... figured I could try some :))
Il tuo italiano sembra buono! We may do the first bilingual PR review :) I noticed your surname too, if I may ask, are you by any chance of Italian descent?
LGTM!
heh, Italian descent maybe a looong time ago :) (great great (great?) grandparents a napoli) -- ma amo l'Italia, il cibo, il vino, la storia antica etc.; tornare in due settimana -- prima volta a bologna, con mio moglie. siamo molto felici!
LGTM!
Perfetto, grazie!
tornare in due settimana -- prima volta a bologna, con mio moglie. siamo molto felici!
Emilia-Romagna is a great choice! it's the region where I live btw haha I hope you enjoy your trip!
P.S: if you ever end up in Forlì let me know, posso consigliarti un paio di posti dove si mangia bene!
Description
As discussed in #327, custom/third-party transports are supported (see
_load_non_core_transport_plugin
) but because the transport name is checked againstscrapli.transport.ASYNCIO_TRANSPORTS
(in both AsyncScrapli and async_driver) async non-core transports cannot actually be loaded.This PR modifies this behavior so that the
ASYNCIO_TRANSPORTS
checks occur only for core transports (scrapli.transport.CORE_TRANSPORTS
).Type of change
How Has This Been Tested?
Added
test_transport_factory_non_core
intest_base_base_driver
to check that_transport_factory
correctly loads the custom transport class (and arguments) from the appropriate plugin module.Checklist:
make lint
before committing!)