Skip to content

Commit

Permalink
Ref #290 - Make changed: attributes optional now that last-modified i…
Browse files Browse the repository at this point in the history
…s auto-set
  • Loading branch information
mxsasha committed Aug 21, 2020
1 parent 9a9cbc6 commit dfa4298
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions irrd/rpsl/rpsl_objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class RPSLAsBlock(RPSLObject):
('remarks', RPSLTextField(optional=True, multiple=True)),
('notify', RPSLEmailField(optional=True, multiple=True)),
('mnt-by', RPSLReferenceListField(lookup_key=True, multiple=True, referring=['mntner'])),
('changed', RPSLChangedField(multiple=True)),
('changed', RPSLChangedField(optional=True, multiple=True)),
('source', RPSLGenericNameField()),
])

Expand All @@ -52,7 +52,7 @@ class RPSLAsSet(RPSLObject):
('remarks', RPSLTextField(optional=True, multiple=True)),
('notify', RPSLEmailField(optional=True, multiple=True)),
('mnt-by', RPSLReferenceListField(lookup_key=True, multiple=True, referring=['mntner'])),
('changed', RPSLChangedField(multiple=True)),
('changed', RPSLChangedField(optional=True, multiple=True)),
('source', RPSLGenericNameField()),
])

Expand All @@ -76,7 +76,7 @@ class RPSLAutNum(RPSLObject):
('remarks', RPSLTextField(optional=True, multiple=True)),
('notify', RPSLEmailField(optional=True, multiple=True)),
('mnt-by', RPSLReferenceListField(lookup_key=True, optional=True, multiple=True, referring=['mntner'])),
('changed', RPSLChangedField(multiple=True)),
('changed', RPSLChangedField(optional=True, multiple=True)),
('source', RPSLGenericNameField()),
])

Expand All @@ -95,7 +95,7 @@ class RPSLDomain(RPSLObject):
('remarks', RPSLTextField(optional=True, multiple=True)),
('notify', RPSLEmailField(optional=True, multiple=True)),
('mnt-by', RPSLReferenceListField(lookup_key=True, optional=True, multiple=True, referring=['mntner'])),
('changed', RPSLChangedField(multiple=True)),
('changed', RPSLChangedField(optional=True, multiple=True)),
('source', RPSLGenericNameField()),
])

Expand All @@ -111,7 +111,7 @@ class RPSLFilterSet(RPSLObject):
('remarks', RPSLTextField(optional=True, multiple=True)),
('notify', RPSLEmailField(optional=True, multiple=True)),
('mnt-by', RPSLReferenceListField(lookup_key=True, multiple=True, referring=['mntner'])),
('changed', RPSLChangedField(multiple=True)),
('changed', RPSLChangedField(optional=True, multiple=True)),
('source', RPSLGenericNameField()),
])

Expand All @@ -134,7 +134,7 @@ class RPSLInetRtr(RPSLObject):
('remarks', RPSLTextField(optional=True, multiple=True)),
('notify', RPSLEmailField(optional=True, multiple=True)),
('mnt-by', RPSLReferenceListField(lookup_key=True, multiple=True, referring=['mntner'])),
('changed', RPSLChangedField(multiple=True)),
('changed', RPSLChangedField(optional=True, multiple=True)),
('source', RPSLGenericNameField()),
])

Expand All @@ -152,7 +152,7 @@ class RPSLInet6Num(RPSLObject):
('remarks', RPSLTextField(optional=True, multiple=True)),
('notify', RPSLEmailField(optional=True, multiple=True)),
('mnt-by', RPSLReferenceListField(lookup_key=True, multiple=True, referring=['mntner'])),
('changed', RPSLChangedField(multiple=True)),
('changed', RPSLChangedField(optional=True, multiple=True)),
('source', RPSLGenericNameField()),
])

Expand All @@ -170,7 +170,7 @@ class RPSLInetnum(RPSLObject):
('remarks', RPSLTextField(optional=True, multiple=True)),
('notify', RPSLEmailField(optional=True, multiple=True)),
('mnt-by', RPSLReferenceListField(lookup_key=True, multiple=True, referring=['mntner'])),
('changed', RPSLChangedField(multiple=True)),
('changed', RPSLChangedField(optional=True, multiple=True)),
('source', RPSLGenericNameField()),
])

Expand All @@ -187,7 +187,7 @@ class RPSLKeyCert(RPSLObject):
('tech-c', RPSLReferenceField(lookup_key=True, optional=True, multiple=True, referring=['role', 'person'])),
('notify', RPSLEmailField(optional=True, multiple=True)),
('mnt-by', RPSLReferenceListField(lookup_key=True, multiple=True, referring=['mntner'])),
('changed', RPSLChangedField(multiple=True)),
('changed', RPSLChangedField(optional=True, multiple=True)),
('source', RPSLGenericNameField()),
])

Expand Down Expand Up @@ -269,7 +269,7 @@ class RPSLMntner(RPSLObject):
('remarks', RPSLTextField(optional=True, multiple=True)),
('notify', RPSLEmailField(optional=True, multiple=True)),
('mnt-by', RPSLReferenceListField(lookup_key=True, multiple=True, referring=['mntner'])),
('changed', RPSLChangedField(multiple=True)),
('changed', RPSLChangedField(optional=True, multiple=True)),
('source', RPSLGenericNameField()),
])

Expand Down Expand Up @@ -347,7 +347,7 @@ class RPSLPeeringSet(RPSLObject):
('remarks', RPSLTextField(optional=True, multiple=True)),
('notify', RPSLEmailField(optional=True, multiple=True)),
('mnt-by', RPSLReferenceListField(lookup_key=True, multiple=True, referring=['mntner'])),
('changed', RPSLChangedField(multiple=True)),
('changed', RPSLChangedField(optional=True, multiple=True)),
('source', RPSLGenericNameField()),
])

Expand All @@ -363,7 +363,7 @@ class RPSLPerson(RPSLObject):
('remarks', RPSLTextField(optional=True, multiple=True)),
('notify', RPSLEmailField(optional=True, multiple=True)),
('mnt-by', RPSLReferenceListField(lookup_key=True, multiple=True, referring=['mntner'])),
('changed', RPSLChangedField(multiple=True)),
('changed', RPSLChangedField(optional=True, multiple=True)),
('source', RPSLGenericNameField()),
])

Expand All @@ -382,7 +382,7 @@ class RPSLRole(RPSLObject):
('remarks', RPSLTextField(optional=True, multiple=True)),
('notify', RPSLEmailField(optional=True, multiple=True)),
('mnt-by', RPSLReferenceListField(lookup_key=True, multiple=True, referring=['mntner'])),
('changed', RPSLChangedField(multiple=True)),
('changed', RPSLChangedField(optional=True, multiple=True)),
('source', RPSLGenericNameField()),
])

Expand All @@ -408,7 +408,7 @@ class RPSLRoute(RPSLObject):
('remarks', RPSLTextField(optional=True, multiple=True)),
('notify', RPSLEmailField(optional=True, multiple=True)),
('mnt-by', RPSLReferenceListField(lookup_key=True, multiple=True, referring=['mntner'])),
('changed', RPSLChangedField(multiple=True)),
('changed', RPSLChangedField(optional=True, multiple=True)),
('source', RPSLGenericNameField()),
])

Expand All @@ -425,7 +425,7 @@ class RPSLRouteSet(RPSLObject):
('remarks', RPSLTextField(optional=True, multiple=True)),
('notify', RPSLEmailField(optional=True, multiple=True)),
('mnt-by', RPSLReferenceListField(lookup_key=True, multiple=True, referring=['mntner'])),
('changed', RPSLChangedField(multiple=True)),
('changed', RPSLChangedField(optional=True, multiple=True)),
('source', RPSLGenericNameField()),
])

Expand All @@ -451,7 +451,7 @@ class RPSLRoute6(RPSLObject):
('remarks', RPSLTextField(optional=True, multiple=True)),
('notify', RPSLEmailField(optional=True, multiple=True)),
('mnt-by', RPSLReferenceListField(lookup_key=True, multiple=True, referring=['mntner'])),
('changed', RPSLChangedField(multiple=True)),
('changed', RPSLChangedField(optional=True, multiple=True)),
('source', RPSLGenericNameField()),
])

Expand All @@ -468,7 +468,7 @@ class RPSLRtrSet(RPSLObject):
('remarks', RPSLTextField(optional=True, multiple=True)),
('notify', RPSLEmailField(optional=True, multiple=True)),
('mnt-by', RPSLReferenceListField(lookup_key=True, multiple=True, referring=['mntner'])),
('changed', RPSLChangedField(multiple=True)),
('changed', RPSLChangedField(optional=True, multiple=True)),
('source', RPSLGenericNameField()),
])

Expand Down

0 comments on commit dfa4298

Please sign in to comment.