code: def get(cls, community_id, with_deleted=False):
          
          q = cls.query.filter_by(id=community_id)
          if not with_deleted:
              q = q.filter(cls.deleted_at.is_(None))
          return q.one_or_none()
docs: Get a community.