Skip to content

Conversation

@Mesh-ach
Copy link
Collaborator

@Mesh-ach Mesh-ach commented Dec 8, 2025

Changes

  • NEW ENDPOINT for adding custom school jobs to the JobTable in Cloud SQL. It leverages existing endpoint functions (read_model and read_inst) to validate that the institution and model exist before writing. This same function is used on Databricks, but it can also be called directly from the FastAPI interface.

  • Minor fixes: I also moved the front end table endpoints to a new file, to ensure it's clearer for debugging and testing


@Mesh-ach Mesh-ach marked this pull request as ready for review December 15, 2025 14:27
id=job_run_id,
triggered_at=triggered_timestamp,
created_by=str_to_uuid(current_user.user_id),
batch_name="No batch name (manual custom school job)",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The batch_name will show up on the frontend right? I think having no batch name like this will create a null point or will it just show "No batch name"? Do you know?

batch_name="No batch name (manual custom school job)",
output_filename=f"{job_run_id}/inference_output.csv",
model_id=query_result[0][0].id,
output_valid=False,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When is this set back to True?

Copy link
Contributor

@vishpillai123 vishpillai123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The diff is a bit hard to read here because of the migration of all of the functions so just a heads up to put two PRs together next time!

@Mesh-ach Mesh-ach merged commit 9b1c763 into staging Dec 16, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants