massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / mysqlclient / MySQLdb / times.pyi
diff --git a/.config/coc/extensions/node_modules/coc-pyright/node_modules/pyright/dist/typeshed-fallback/stubs/mysqlclient/MySQLdb/times.pyi b/.config/coc/extensions/node_modules/coc-pyright/node_modules/pyright/dist/typeshed-fallback/stubs/mysqlclient/MySQLdb/times.pyi
new file mode 100644 (file)
index 0000000..339617f
--- /dev/null
@@ -0,0 +1,26 @@
+from datetime import date, datetime, time, timedelta
+
+from MySQLdb._mysql import string_literal as string_literal
+
+Date = date
+Time = time
+TimeDelta = timedelta
+Timestamp = datetime
+DateTimeDeltaType = timedelta
+DateTimeType = datetime
+
+def DateFromTicks(ticks): ...
+def TimeFromTicks(ticks): ...
+def TimestampFromTicks(ticks): ...
+
+format_TIME = str
+format_DATE = str
+
+def format_TIMEDELTA(v): ...
+def format_TIMESTAMP(d): ...
+def DateTime_or_None(s): ...
+def TimeDelta_or_None(s): ...
+def Time_or_None(s): ...
+def Date_or_None(s): ...
+def DateTime2literal(d, c): ...
+def DateTimeDelta2literal(d, c): ...