ludwig404
ludwig404
Interested to know how people are handling creation of indexes in mongo db . Does anyone know of suitable way to define index on a Pydantic model?
@NomeChomsky I use a mixin that works in a similar way. ``` class DBModelMixin(BaseModel): id: Optional[ObjectIdStr] = Field(..., alias="_id") class Config: json_loads = json_util.loads json_dumps = json_util.dumps allow_population_by_field_name = True...
I ran `curl --proto '=https' --tlsv1.2 -sSf https://sh.edgedb.com | sh` as suggested in the install docs.
first shell window. ``` Mac:envs leon$ curl --proto '=https' --tlsv1.2 -sSf https://sh.edgedb.com | sh info: downloading installer Welcome to EdgeDB! This will install the official EdgeDB command-line tools. The `edgedb`...
this is what is happend... ``` Mac:envs leon$ edgedb server uninstall --version 1-alpha3 The following commands will be run with elevated privileges using sudo: sudo rm -rf /Library/Frameworks/EdgeDB.framework /Library/LaunchDaemons/com.edgedb.edgedb-server-1-alpha3.plist sudo...
Looks to me like setting Data Directory as /Users/leon/Library/"Application Support"/edgedb/data/tutorial would help?
directory /Users/leon/.edgedb/logs/ exists but it is empty /Users/leon/.edgedb/config/instance_ports.json { "tutorial": 10700 }