Skip to content

Commit

Permalink
make cfg_env accessible via 'self'
Browse files Browse the repository at this point in the history
  • Loading branch information
Ariana Barzinpour committed Jul 24, 2024
1 parent 3726b28 commit 34dc554
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datacube/api/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@ def __init__(self,
return

# Obtain an ODCEnvironment object:
cfg_env = ODCConfig.get_environment(env=env, config=config, raw_config=raw_config)
self.cfg_env = ODCConfig.get_environment(env=env, config=config, raw_config=raw_config)

self.index = index_connect(cfg_env,
self.index = index_connect(self.cfg_env,
application_name=app,
validate_connection=validate_connection)

Expand Down

0 comments on commit 34dc554

Please sign in to comment.