mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-16 14:33:00 +00:00
Updated code to fit with latest version
This commit is contained in:
@@ -222,9 +222,8 @@ class Group(Base):
|
||||
__tablename__ = 'groups'
|
||||
id = Column(Integer, primary_key=True, autoincrement=True)
|
||||
name = Column(Unicode(255), unique=True)
|
||||
# The properties column contains key:value pairs that represent group settings and their values. Example: {"ram": 8, "cpu": 4}
|
||||
properties = Column(JSONDict, default={})
|
||||
users = relationship('User', secondary='user_group_map', backref='groups')
|
||||
properties = Column(JSONDict, default= {})
|
||||
|
||||
def __repr__(self):
|
||||
return "<%s %s (%i users)>" % (
|
||||
|
Reference in New Issue
Block a user