You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we restrict the types that are allowed to be used as etags (and/or user-specified keys, see #4), then we could allow either a scalar etag or a function to create said etag to be passed via the same etag kwarg.
Potential set of types could be:
strings
ints
bools
None
tuples of these
Basically, hashable builtin types.
The text was updated successfully, but these errors were encountered:
Just need a relatively comprehensive iscallable to do the detection, since we have already declared that memoized callables may only use hashable arguments.
If we restrict the types that are allowed to be used as etags (and/or user-specified keys, see #4), then we could allow either a scalar etag or a function to create said etag to be passed via the same
etag
kwarg.Potential set of types could be:
Basically, hashable builtin types.
The text was updated successfully, but these errors were encountered: