.
??? Core
? ??? BackgroundProcessManager.py
? ??? FirebaseDatabaseManager.py
? ??? LearningManager.py
? ??? __init__.py
?
??? FrontEnd
? ??? HomePage.py
? ??? __init__.py
?
??? LICENSE
??? README.md
??? Route
? ??? RouteManager.py
? ??? __init__.py
?
??? Settings
? ??? DefineManager.py
? ??? __init__.py
?
??? Utils
? ??? LoggingManager.py
? ??? __init__.py
?
??? index.py
??? runner.sh
Run Code Online (Sandbox Code Playgroud)
所有的路线链接都在 Route/RouteManager.py
Flask的主要来源是 index.py
我希望使用发送虚假请求和测试响应pytest-flask.
from flask import …Run Code Online (Sandbox Code Playgroud) 我正在使用firebase功能.而且有一个问题.我昨天将我的功能源部署到了firebase.今天是工作源和服务好的工具.但是现在!突然返回内部错误而不记录它(Firebase在firebase记录器中没有显示内部错误,我不知道为什么).我没有编辑我的源代码并且代码并不困难.
这是我的代码.
exports.keyboard = functions.https.onRequest((request, response) => {
responseMessage = {"type" : "buttons", "buttons" : global.defineManager.MAIN_BUTTONS}
response.status(200).send(JSON.stringify(responseMessage))
});
Run Code Online (Sandbox Code Playgroud)
这就是我收到的.
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>500 Server Error</title>
</head>
<body text=#000000 bgcolor=#ffffff>
<h1>Error: Server Error</h1>
<h2>The server encountered an error and could not complete your request.
<p>Please try again in 30 seconds.
</h2>
<h2></h2>
</body>
</html>
Run Code Online (Sandbox Code Playgroud)
我正在使用firebase大火价格.我该怎么办?我错了什么?
docker 镜像内部的/tmp目录中有几个文件。
例子
/tmp # ls -al
total 4684
drwxrwxrwt 1 root root 4096 May 19 07:09 .
drwxr-xr-x 1 root root 4096 May 19 08:13 ..
-rw-r--r-- 1 root root 156396 Apr 24 07:12 6359688847463040695.jpg
-rw-r--r-- 1 root root 150856 Apr 24 06:46 63596888545973599910.jpg
-rw-r--r-- 1 root root 142208 Apr 24 07:07 63596888658550828124.jpg
-rw-r--r-- 1 root root 168716 Apr 24 07:12 63596888674472576435.jpg
-rw-r--r-- 1 root root 182211 Apr 24 06:51 63596888734768961426.jpg
-rw-r--r-- 1 root root 322126 Apr …Run Code Online (Sandbox Code Playgroud) 我期望得到ls_fr,ls_to这是使用if语句更新.
但查询异常消息说Not declared RIGHT.我以为RIGHT是内置功能.我该如何解决这个问题或宣布RIGHT功能呢?
declare
ls_today VARCHAR2(15);
ls_time VARCHAR2(15);
ls_bef_day VARCHAR2(15);
ls_next_day VARCHAR2(15);
ls_fr VARCHAR2(15);
ls_to VARCHAR2(15);
begin
ls_today := '20181105';
ls_time := '20181105175612';
ls_bef_day := '20181104';
ls_next_day := '20181106';
If RIGHT(ls_time, 6) >= '000000' and RIGHT(ls_time, 6) <= '055959' Then
ls_fr := ls_bef_day;
ls_to := ls_today;
Else
ls_fr := ls_today;
ls_to := ls_next_day;
End If;
select ls_fr, ls_to INTO ls_fr, ls_to FROM DUAL;
end;
Run Code Online (Sandbox Code Playgroud)