mirror of
https://github.com/OMGeeky/gpt-pilot.git
synced 2026-01-23 02:18:53 +01:00
fix(gitignore): rm pilot-env and cache
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
import json
|
||||
from peewee import TextField
|
||||
|
||||
|
||||
class JSONField(TextField):
|
||||
def python_value(self, value):
|
||||
if value is not None:
|
||||
return json.loads(value)
|
||||
return value
|
||||
|
||||
def db_value(self, value):
|
||||
if value is not None:
|
||||
return json.dumps(value)
|
||||
return value
|
||||
Reference in New Issue
Block a user