Update csv_export.py

This commit is contained in:
zandercymatics 2024-12-19 09:25:04 -07:00
parent e9d0a54251
commit 5f5ca0b780
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -1097,6 +1097,12 @@ class DomainDataFull(DomainExport):
# pulling the wrong data. # pulling the wrong data.
# For example, the portfolio name, rather than the suborganization name. # For example, the portfolio name, rather than the suborganization name.
# This can be removed after that gets fixed. # This can be removed after that gets fixed.
# The following fields are changed from DomainExport:
# converted_organization_name => organization_name
# converted_city => city
# converted_state_territory => state_territory
# converted_so_name => so_name
# converted_so_email => senior_official__email
@classmethod @classmethod
def get_fields(cls, model): def get_fields(cls, model):
FIELDS = { FIELDS = {
@ -1207,10 +1213,16 @@ class DomainDataFederal(DomainExport):
""" """
# NOTE - this override is temporary. # NOTE - this override is temporary.
# We are running into a problem where DomainDataFederal is # We are running into a problem where DomainDataFull is
# pulling the wrong data. # pulling the wrong data.
# For example, the portfolio name, rather than the suborganization name. # For example, the portfolio name, rather than the suborganization name.
# This can be removed after that gets fixed. # This can be removed after that gets fixed.
# The following fields are changed from DomainExport:
# converted_organization_name => organization_name
# converted_city => city
# converted_state_territory => state_territory
# converted_so_name => so_name
# converted_so_email => senior_official__email
@classmethod @classmethod
def get_fields(cls, model): def get_fields(cls, model):
FIELDS = { FIELDS = {