예제 #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)