Skip to content

Commit

Permalink
Update fhir_resource.py
Browse files Browse the repository at this point in the history
  • Loading branch information
zavoraad authored May 2, 2024
1 parent f649605 commit 29f8bc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbignite/fhir_resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def __filter_resources(column: Column, resource_type: str) -> Column:
#
def bulk_table_write(self, location = "", write_mode = "append", columns = None):
pool = ThreadPool(mp.cpu_count()-1)
list(pool.map(lambda column: self.table_write(str(column), location, write_mode), ([c for c in self.entry().columns if c not in ["id", "timestamp", "bundleuuid"]] if columns is None else columns)))
list(pool.map(lambda column: self.table_write(str(column), location, write_mode), ([c for c in self.entry().columns if c not in ["id", "timestamp", "bundleUUID"]] if columns is None else columns)))

#
# Write an individual FHIR resource as a table
Expand Down

0 comments on commit 29f8bc6

Please sign in to comment.