-
It is a function that can be called to construct ‘struct’-like values:
Note: Some providers, defined internally, do not allow instance creation
-
It is a key to access a provider instance on a Target
Provider using the provider function.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
The new site is online! Please use this issue to report any problems.
DataInfo = provider()
d = DataInfo(x = 2, y = 3)
print(d.x + d.y) # prints 5
DataInfo = provider()
def _rule_impl(ctx)
... ctx.attr.dep[DataInfo]
Provider using the provider function.