def get_activity_types(self, content):
        at = []
        for activity_type in ActivityType.all_tags():
            result = re.search(activity_type, content, flags=re.IGNORECASE)
            if result is not None:
                at.append(activity_type)
        return at
Extract activity type hashtags.
dataset/ETHPy150Open GoogleDeveloperExperts/experts-app-backend/models/activity_post.py/ActivityPost.get_activity_types