brent s.
brent s.
An admittedly weird but theoretically working workaround for a recursive/dir scp would be to just put the resulting files in a [tarfile](https://docs.python.org/library/tarfile.html) object. If a parameter is added to a...
Inherently? No. But tarfile is in stdlib and provides a native stream-based interface/object for a container of files, which is what you'd need for handling a return of multiple files...
Yeah, already leveraging SUM for the actual activation but needed a way to get the BMC MAC locally. I'll have to revisit this.
> > we're doing some programmatic building of flags objects which I get the impression is not very common elsewhere > > I think that is quite reasonable, it's something...
This would also be in line with Powershell's applets' preference for (almost) POSIX flags (e.g. `-OutPut-Format`). As such, `-tags=forcedos` may be more an apt tag name. This ideally would also...
`A` should be fairly easy; the `str()` conversion for `ipaddress.IPv4Address`/`ipaddress.IPv6Address` is the string representation that `netaddr.IPAddress()` accepts. LIkewise, for `ipaddress.IPv4Network`/`ipaddress.IPv6Network` `str()` conversions, it's in the standard network/prefix format (e.g. `192.0.2.0/24`).
Good news, it looks like either I was using a locally cached version or they finally updated their docs as it now shows [documentation for that endpoint](https://www.vaultproject.io/api-docs/system/internal-ui-mounts).
@iMisteg This is why that won't work: https://docs.python-guide.org/writing/gotchas/#mutable-default-arguments Namely, when the module (or submodule, in this case - the class, specifically) is *imported*, the method's definition is read in and...
(The second (`None` default per-method) or third (hybrid) designs above would retain backwards compatibility.)
@droyo Thanks! Subscribed and will monitor there for possible fixes/merge in the future.