Minor changes related to data_store

This commit is contained in:
Scott Idem
2024-03-05 16:59:54 -05:00
parent 16f3c65b7f
commit 9d4184e3ad
2 changed files with 6 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ from pydantic import BaseModel, EmailStr, Field, Json, PrivateAttr, ValidationEr
from app.db_sql import redis_lookup_id_random
from app.lib_general import log, logging
from app.models.common_field_schema import base_fields, default_num_bytes
from app.models.common_field_schema import base_fields
# ### BEGIN ### API Data Store Models ### Data_Store_Base() ###
@@ -40,7 +40,7 @@ class Data_Store_Base(BaseModel):
name: Optional[str]
description: Optional[str]
type: Optional[str] # json, html, md, text
type: Optional[str] # html, json, md, text
# The JSON fields are case sensitive
# json: Optional[str] # "json" is reserved; need to change field name? json_str?