File: twitter_user.py

package info (click to toggle)
python-odmantic 1.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,488 kB
  • sloc: python: 8,646; sh: 110; javascript: 45; makefile: 34; xml: 13
file content (11 lines) | stat: -rw-r--r-- 207 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
from typing import List

from bson import ObjectId

from odmantic import Model


class TwitterUser(Model):
    """Self referencing model with manual reference handling"""

    following: List[ObjectId] = []