angely-dev

Results 11 comments of angely-dev

Same problem on my Huawei S5732 which uses `diffie-hellman-group-exchange-sha256` KEX algorithm.

Any updates on Huawei parser? Huawei config is a `BaseSpaceConfigParser` with: * `comment_chars` as `#` * `banner_start` as `header login information` * A banner starts and ends with `"` A...

Thanks @itdependsnetworks. So using this simple snippet: ```py # netutils/config/parser.py class HuaweiVRPConfigParser(BaseSpaceConfigParser): """Huawei VRP implementation of ConfigParser Class.""" comment_chars: t.List[str] = ["#"] banner_start = ["header login information"] banner_end = '"'...

Sorry, that wasn't so clear. The original command is: ``` header login information "================================================== my multi-line banner ==================================================" ``` The last `"` denotes the end of the banner. When I...

Thanks @regexgit for pointing out the original version, yet I ended up doing my own and lightweight implementation. It converts an indented config (not text, strictly speaking, since I assume...

Also need this. Thanks for the snippets here. What is the difference between `Depends` and `Security`? ```python def check_authentication_header(x_api_key: str = Depends(X_API_KEY)): def check_authentication_header(x_api_key: str = Security(X_API_KEY)): app = FastAPI(dependencies=[Depends(check_authentication_header)])...

@sydney-runkle and @samuelcolvin you are saying that fixing/implementing this would introduce a breaking change, but this was the way it worked with Pydantic V1. So it seems Pydantic V2 introduced...

Thanks @sydney-runkle for updating the docs. May we have a statement about the regression? It seems there is a contradiction. Pydantic 2 introduced a breaking change by executing constraints **after**...

I think we could highlight it in the [#changes-to-validators](https://docs.pydantic.dev/latest/migration/#changes-to-validators) section, by referencing the pipeline api as an alternative (which looks promising, I will experience it in our code). Thanks for...