Commit graph

4 commits

Author SHA1 Message Date
7772ec679f Renamed "verify" functions to "validate".
Another idea for defining the fields in records
would be to create a class method that would instantiate
the individual fields at instance creation rather than
during class definition. This would use less memory when
there are no Record objects being used.

Storing each Field after it's instantiated into a List, as
well as a Dict would remove the necessity for counting the
Field instantiation order, since the List would hold them in
their proper order.
2011-11-12 13:50:14 -06:00
7cb8bed61e Bumped version to 0.0.5
Fixed problem where fields contained shared values by
performing a shallow copy on all fields during Record instantiation.
That way, each record has its own copy of the field instances, rather
than the shared class-wide instance provided by the definition.
2011-10-29 14:03:03 -05:00
4023d46b4a Changed a few fields to be optional.
Found a fairly difficult bug involved with Field instances
being shared across Records. The issue is that Field instances
are static. I either need to implement a way to instantiate
copies of all the Fields per-record, or write a wrapping
interface which provides a unique value store on a per-Record
basis.
2011-10-25 14:54:22 -05:00
6f5d29faab moved everything into pyaccuwage subdir 2011-06-25 15:08:38 -05:00
Renamed from model.py (Browse further)