feat: indie status page MVP -- FastAPI + SQLite
- 8 DB models (services, incidents, monitors, subscribers, etc.) - Full CRUD API for services, incidents, monitors - Public status page with live data - Incident detail page with timeline - API key authentication - Uptime monitoring scheduler - 13 tests passing - TECHNICAL_DESIGN.md with full spec
This commit is contained in:
commit
902133edd3
4655 changed files with 1342691 additions and 0 deletions
25
venv/lib/python3.11/site-packages/mypyc/lib-rt/init.c
Normal file
25
venv/lib/python3.11/site-packages/mypyc/lib-rt/init.c
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
#include <Python.h>
|
||||
#include "CPy.h"
|
||||
#include "static_data.c"
|
||||
|
||||
struct ExcDummyStruct _CPy_ExcDummyStruct = { PyObject_HEAD_INIT(NULL) };
|
||||
PyObject *_CPy_ExcDummy = (PyObject *)&_CPy_ExcDummyStruct;
|
||||
|
||||
// System-wide empty tuple constant
|
||||
PyObject * __mypyc_empty_tuple__ = NULL;
|
||||
|
||||
// Because its dynamic linker is more restricted than linux/OS X,
|
||||
// Windows doesn't allow initializing globals with values from
|
||||
// other dynamic libraries. This means we need to initialize
|
||||
// things at load time.
|
||||
void CPy_Init(void) {
|
||||
_CPy_ExcDummyStruct.ob_base.ob_type = &PyBaseObject_Type;
|
||||
|
||||
// Initialize system-wide empty tuple constant
|
||||
if (__mypyc_empty_tuple__ == NULL) {
|
||||
__mypyc_empty_tuple__ = PyTuple_New(0);
|
||||
if (!__mypyc_empty_tuple__) {
|
||||
CPyError_OutOfMemory();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue