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
it is not possible to use the is_internal trait, like LinkStreamBlockFactory(is_internal=True), as the is_internal keyword breaks StreamBlockFactory's parameter parsing. This particular use case is somewhat pointless (you could just call LinkStreamBlockFactory(**{"0": "internal"})), but there may be valid use cases for traits (maybe as defining a shorthand for a particular combination of nested options). I would like to hear opinions on this - would fixing this be useful?
The text was updated successfully, but these errors were encountered:
Given a factory definition of
it is not possible to use the
is_internal
trait, likeLinkStreamBlockFactory(is_internal=True)
, as theis_internal
keyword breaksStreamBlockFactory
's parameter parsing. This particular use case is somewhat pointless (you could just callLinkStreamBlockFactory(**{"0": "internal"})
), but there may be valid use cases for traits (maybe as defining a shorthand for a particular combination of nested options). I would like to hear opinions on this - would fixing this be useful?The text was updated successfully, but these errors were encountered: