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 a Column or Row is declared, the unit is immediately added to the section's internal cls_units. Sometimes this may not be desired. Passing _dont_assign in the declaration is effective to prevent assignment, but there is no good way to complete the assignment later on.
The text was updated successfully, but these errors were encountered:
One solution would be to offer an alternative method of building sheets. Instead of using a metaclass and hijacking Python's class syntax, we could offer a function/method-based alternative. The difference would be similar to SQLAlchemy declarative vs. SQLAlchemy core (which is, ironically, also declarative).
Remember that "declarative" simply means that we are describing the solution statelessly. You can achieve that to great effect without resorting to metaclasses, and it makes abstraction much easier.
If a Column or Row is declared, the unit is immediately added to the section's internal cls_units. Sometimes this may not be desired. Passing _dont_assign in the declaration is effective to prevent assignment, but there is no good way to complete the assignment later on.
The text was updated successfully, but these errors were encountered: