Sistema limpio
This commit is contained in:
11
show_context.py
Normal file
11
show_context.py
Normal file
@@ -0,0 +1,11 @@
|
||||
with open("/app/app/api/v1/endpoints/users.py", "r") as f:
|
||||
lines = f.readlines()
|
||||
|
||||
# Mostrar contexto alrededor de lineas con tenant_id
|
||||
targets = [51, 92, 159, 200, 307, 384]
|
||||
for t in targets:
|
||||
print(f"\n=== Linea {t} ===")
|
||||
start = max(0, t-5)
|
||||
end = min(len(lines), t+5)
|
||||
for i in range(start, end):
|
||||
print(f"{i+1}: {lines[i].rstrip()}")
|
||||
Reference in New Issue
Block a user