This repository was archived by the owner on Aug 7, 2023. It is now read-only.
Replies: 1 comment 1 reply
-
|
You must list |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I can run this code locally and insert data while using the expire_at key word. But when I try to do the same thing with code deployed on DETA and using CRON I get the error: TypeError: insert() got an unexpected keyword argument 'expire_at'
`from deta import Deta
from deta import app
import datetime
import requests
deta = Deta('a0icdh3t_S3fjAUgo41jpRBYQZUa3GQQAzxBksBn4')
news = deta.Base('news')
@app.lib.cron()
def update_datebase(event):
`
Beta Was this translation helpful? Give feedback.
All reactions