I am working on a script that bulk fetches associated records, and later on I attempt to use the table property from one of those associated records for something else, but I've realized that the table property is incorrect. It is the table that I called bulk_fetch_associated_records on, not the target_table that was passed to the function. The table property is wrong for all associated record objects returned.
The issue seems to be on line 776 of mi_bulk_utilities.py
Currently the line reads as
record = Record._create_from_reference(self._table, record_data)
but I believe it should be
record = Record._create_from_reference(self.target_table, record_data)
instead.
Is this the intended behavior?
For now I will just persist the original target_table for use later in my script, but this feels like something that should not be happening.
Happy to answer any follow up questions about this issue.
Thanks,
Noah