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
That's a lot of boilerplate. In particular, the license and GeneratedBy arguments are likely to be identical for every single call.
What's a good way to reduce the boilerplate? Is it acceptable to expose package-level variables for, say, license and "generated by" so that the user can initialize these values once and not have to copy them in every call?
The text was updated successfully, but these errors were encountered:
Currently, the idiomatic way to call
bavard.Generate
is as follows:That's a lot of boilerplate. In particular, the license and
GeneratedBy
arguments are likely to be identical for every single call.What's a good way to reduce the boilerplate? Is it acceptable to expose package-level variables for, say, license and "generated by" so that the user can initialize these values once and not have to copy them in every call?
The text was updated successfully, but these errors were encountered: