Skip to content

Conversation

agronholm
Copy link
Member

No description provided.

@coveralls
Copy link

coveralls commented Dec 30, 2024

Coverage Status

coverage: 93.038% (+5.5%) from 87.5%
when pulling 3ff52f2 on asphalt5
into ef2b698 on master.

ready_callback=lambda bind, factory: metadata.create_all(bind),
)
await super().start(ctx)
await super().start()
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it still needed?

Copy link
Member Author

Choose a reason for hiding this comment

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

I need to check why mypy didn't pick this up.

Copy link
Member Author

Choose a reason for hiding this comment

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

Right, I was looking at something else. It's not a syntax or typing issue. I'll do a a sweep on the subprojects to see if this is still present somewhere.

Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think it's wrong to await super().start(), just that it does nothing.

Copy link
Member Author

Choose a reason for hiding this comment

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

I found a bunch of similar issues, plus outdated examples where add_component() was still called in start().

Copy link
Member Author

Choose a reason for hiding this comment

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

Should be all good here now.

),
)
await super().start(ctx)
await super().start()
Copy link
Contributor

Choose a reason for hiding this comment

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

Same here?

Copy link
Member Author

Choose a reason for hiding this comment

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

Removed here too.

@agronholm
Copy link
Member Author

I should address the coverage decrease.

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