Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
i-oden committed Jul 28, 2023
1 parent 19abd13 commit 206ad91
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions dds_web/api/api_s3_connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,10 @@ def __exit__(self, exc_type, exc_value, tb):
def get_s3_info(self):
"""Get information required to connect to cloud."""
# Check if to use sto4
use_sto4 = dds_web.utils.use_sto4(unit_object=self.project.responsible_unit, project_object=self.project)

use_sto4 = dds_web.utils.use_sto4(
unit_object=self.project.responsible_unit, project_object=self.project
)

endpoint, name, accesskey, secretkey = (
models.Unit.query.filter_by(id=self.project.responsible_unit.id)
.with_entities(
Expand Down

0 comments on commit 206ad91

Please sign in to comment.