Graham Dumpleton
Graham Dumpleton
> maybe request latency outlier flagging If hadn't worked it out somehow, the `request_metrics()` provides time buckets where keeps a count since last call of number of requests falling in...
The `request_metrics()` call will return empty on the first call since data is accumulated from last time was called, so first time there was no open time window already.
Will need to investigate, wrapping type objects with a proxy can be problematic. What should work okay are tests like: ``` from enum import StrEnum class State(StrEnum): STARTED = "started"...
Okay, looks like I may have tried to deal with `issubclass()` checks in decorators by having in the function wrappers used for decorators: ``` def __subclasscheck__(self, subclass): # This is...
Can you add that implementation of `__subclasscheck__` above to your custom object proxy class and see if the issue is resolved? If it works, or we can work out a...
Since for `issubclass(enum.StrEnum, enum.StrEnum)` you get `True`, I would not expect `issubclass(wrapt.BaseObjectProxy(enum.StrEnum), enum.StrEnum)` to return `False`. FWIW, the whole `issubclass()` issue and why never did it on `ObjectProxy` may have...
And this PEP shows what I do as an example. * https://peps.python.org/pep-0621/#example From memory I originally had what you suggest but some tools would complain about it and what I...
Okay, so the section of separate docs more specific than section you gave is: * https://peps.python.org/pep-0639/#deprecate-license-key-table-subkeys I still though somehow have to contend with tools complaining/erroring when dealing with a...
Worth pointing out from the latter link is: > Likewise, if the new license-files key is not present and the file subkey is present in the license table, tools SHOULD...
Since wrapt now only supports Python 3.8+, and `importlib.metadata` was added in Python 3.8, if that is compatible with how `setuptools` used to work, then we could just switch to...