Skip to content

Commit

Permalink
Fixup: add property
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmiller committed Oct 7, 2024
1 parent 619f5d2 commit c95c438
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions intrahospital_api/apis/prod_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -475,10 +475,12 @@ def get_all_fields(self):

class ProdApi(base_api.BaseApi):
def __init__(self):
self.hospital_settings = settings.HOSPITAL_DB
self.trust_settings = settings.TRUST_DB
self.hospital_settings = settings.HOSPITAL_DB
self.trust_settings = settings.TRUST_DB
self.warehouse_settings = settings.WAREHOUSE_DB
self.epma_settings = settings.EPMA_DB
self.epma_settings = settings.EPMA_DB
self.reporting_settings = settings.REPORTING_DB

if not all([
self.hospital_settings.get("ip_address"),
self.hospital_settings.get("database"),
Expand Down

0 comments on commit c95c438

Please sign in to comment.