Skip to content

Conversation

@KoeppelSoftwareEngineer
Copy link
Collaborator

Description Message, I am creating a "Pull Request".

@coveralls
Copy link

coveralls commented Dec 3, 2025

Pull Request Test Coverage Report for Build 19924101823

Details

  • 0 of 46 (0.0%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 0.0%

Changes Missing Coverage Covered Lines Changed/Added Lines %
backend/database.py 0 4 0.0%
backend/datamodel.py 0 10 0.0%
backend/main.py 0 32 0.0%
Totals Coverage Status
Change from base Build 19474966801: 0.0%
Covered Lines: 0
Relevant Lines: 60

💛 - Coveralls

Copy link
Member

@JosePizarro3 JosePizarro3 left a comment

Choose a reason for hiding this comment

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

Some minor comments. I will go through installing this locally, checking the README, and let you know how it goes.

I didn't review the frontend. Once I launch this I will take a look and give some comments.

Copy link
Member

Choose a reason for hiding this comment

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

I will go through the installation using this README.md and let you know

Copy link
Member

@JosePizarro3 JosePizarro3 left a comment

Choose a reason for hiding this comment

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

just some minor comments, I will rewrite the README later

)


class UpdateSchema(BaseModel):
Copy link
Member

Choose a reason for hiding this comment

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

why do you need this?

schema_documents = list(schemas_collection.find())

# Verbose loop: clarify what we're iterating over and why
for schema_document in schema_documents:
Copy link
Member

Choose a reason for hiding this comment

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

to be honest, I am not sure what this logic does. You get the original_id from schema_document["_id"] and then you overwrite schema_document["_id"] with the original_id (which is already a string, shouldn't mutate to another type at any moment)

I think this method just needs to return list(schemas_collection.find())

Args:
schema (SchemaDefinition): The schema data to insert.
Returns:
dict: The ID of the inserted schema.
Copy link
Member

Choose a reason for hiding this comment

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

the description of this is a bit different. Should be:

    Returns:
        dict: A dictionary with key being the ID of the inserted schema, and value the actual inserted schema

@KoeppelSoftwareEngineer
Copy link
Collaborator Author

Nice

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.

Polish the structure of the repo and add NextJS generated GUI

5 participants