We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 162aa7a commit f855fbeCopy full SHA for f855fbe
diracx-db/src/diracx/db/sql/auth/db.py
@@ -72,7 +72,18 @@ async def post_create(cls, conn: AsyncConnection) -> None:
72
print("CHRIS BOOM")
73
print(query)
74
75
- partition_names = (await conn.execute(query)).all()
+ await conn.execute(query)
76
+
77
+ print("CHIS HOW DOES IT LOOK NOW?")
78
+ query = text(
79
+ "SELECT PARTITION_NAME FROM information_schema.partitions "
80
+ "WHERE TABLE_NAME = :table_name AND PARTITION_NAME is not NULL"
81
+ )
82
+ partition_names = (
83
+ await conn.execute(query, {"table_name": "RefreshTokens"})
84
+ ).all()
85
+ print(partition_names)
86
+ print("CHRIS GOOD JOB")
87
88
async def device_flow_validate_user_code(
89
self, user_code: str, max_validity: int
0 commit comments