audit surface: migrate to the consolidated campus_python.audit client (post-#178) and re-pin
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 43/100
Línea de trabajo
Start in campus_cli/audit/client.py and inspect the audit call sites under campus_cli/audit/; the issue estimates about 46 call sites whose dict-consuming code may need to handle CampusResponse via .json(). Read the consolidated client changes in campus-api-python#178 and the response and query fixes in #180, then run the audit tests. Done means the audit commands work with campus-api-python v0.11.0, the dependency is pinned, and release 0.8.2 is cut.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Follow-up from the 2026-11-21 bugfix sweep.
Current state (campus-cli 0.8.0/0.8.1 + campus-api-python v0.10.9 wheel):
campus audit traces list/searchandapikeys listcrash client-side:
CampusRequest.get() got an unexpected keyword argument 'params'— the
v0.10.9 wheel's audit resources passparams=whereget()takes
query=(kwarg fix: campus-api-python#180).- The installed 0.8.0 is affected today; cli#99 (0.8.1) stays pinned at
v0.10.9 so it inherits the crash. Workaround until the migration: drive
traces via the campus-admin audit UI, raw HTTP, or the SDK directly.
The migration: the audit-namespace reorg (campus-api-python#178,
merged unreleased) consolidated the flask-campus audit client into the
SDK as campus_python.audit — the PR itself notes "campus-cli vendors a
duplicate today, can adopt it later". The next SDK release from main is
v0.11.0 (minor: CampusResponse return types are breaking for the CLI's
dict-consuming audit code, ~46 call sites in campus_cli/audit/).
Scope: adopt the consolidated client in campus_cli/audit/
(AuditRoot/CampusRequest construction in client.py already matches the
new surface's auth style), unwrap CampusResponse (.json()) at the
render boundary, pin campus-api-python v0.11.0, cut 0.8.2.
- Lenguaje dominante
- Python
- Estrellas
- 0
- Forks
- 0
- Merge medio
- 14 min
- PR fusionados (30 d)
- 24
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de nyjc-computing/campus-cli
-
campus-cliAbierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 10/100
Los mantenedores suelen responder en 1 día
Todos los issues de nyjc-computing/campus-cli
Issues similares
-
ui
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
ARTPARK-SAHAI-ORG/calibrate-frontend#919 ·
Los mantenedores suelen responder en 1 día
-
CI: MSYS2 jobs fail — mingw python3 package renamed upstream to pythonPosiblemente ocupada @ronaldtse la tomó hoy. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 95/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
pydantic/pytest-examples#102 · 1 comentario ·