Skip to content

Commit

Permalink
mlstudio review
Browse files Browse the repository at this point in the history
  • Loading branch information
dlpzx committed May 25, 2023
1 parent 4a163da commit 4ce293a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion backend/dataall/api/Objects/Environment/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@
),
gql.Field('validated', type=gql.Boolean),
gql.Field('dashboardsEnabled', type=gql.Boolean),
gql.Field('mlStudiosEnabled', type=gql.Boolean),
gql.Field('pipelinesEnabled', type=gql.Boolean),
gql.Field('warehousesEnabled', type=gql.Boolean),
gql.Field('roleCreated', type=gql.Boolean),
Expand Down
2 changes: 0 additions & 2 deletions backend/dataall/db/api/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,6 @@ def update_environment(session, username, groups, uri, data=None, check_perm=Non
environment.tags = data.get('tags')
if 'dashboardsEnabled' in data.keys():
environment.dashboardsEnabled = data.get('dashboardsEnabled')
if 'mlStudiosEnabled' in data.keys():
environment.mlStudiosEnabled = data.get('mlStudiosEnabled')
if 'pipelinesEnabled' in data.keys():
environment.pipelinesEnabled = data.get('pipelinesEnabled')
if 'warehousesEnabled' in data.keys():
Expand Down
1 change: 0 additions & 1 deletion backend/dataall/db/models/Environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ class Environment(Resource, Base):
roleCreated = Column(Boolean, nullable=False, default=False)

dashboardsEnabled = Column(Boolean, default=False)
mlStudiosEnabled = Column(Boolean, default=True)
pipelinesEnabled = Column(Boolean, default=True)
warehousesEnabled = Column(Boolean, default=True)

Expand Down

0 comments on commit 4ce293a

Please sign in to comment.