コード例 #1
0
 def setup_schema(cls):
     """Set up the MongoDB schema."""
     db.create_collection('dispositions', validator=cls.schema_validator)
コード例 #2
0
 def setup_schema(cls):
     """Set up the MongoDB schema."""
     db.create_collection(cls.collection, validator=calendar_reason_schema)
コード例 #3
0
 def setup_schema(cls):
     """Set up the MongoDB schema."""
     db.create_collection(cls.collection, validator=defendant_race_schema)
コード例 #4
0
 def setup_schema(cls):
     """Set up the MongoDB schema."""
     db.create_collection(cls.collection,
                          validator=docket_calendar_name_schema)
コード例 #5
0
 def setup_schema(cls):
     """Set up the MongoDB schema."""
     db.create_collection(cls.collection,
                          validator=current_offense_level_degree_schema)
コード例 #6
0
 def setup_schema(cls):
     """Set up the MongoDB schema."""
     db.create_collection(cls.collection, validator=case_status_schema)
コード例 #7
0
 def setup_schema(cls):
     """Set up the MongoDB schema."""
     db.create_collection(cls.collection,
                          validator=court_division_indicator_schema)
コード例 #8
0
 def setup_schema(cls):
     """Set up the MongoDB schema."""
     db.create_collection(cls.collection, validator=instrument_type_schema)