Skip to content

refactor: define the method to load tables as function#180

Merged
ktro2828 merged 1 commit into
mainfrom
refactor/load-table
Aug 29, 2025
Merged

refactor: define the method to load tables as function#180
ktro2828 merged 1 commit into
mainfrom
refactor/load-table

Conversation

@ktro2828

Copy link
Copy Markdown
Collaborator

What

This PR removes Tier4.__load_table__(...) method and define as function called load_table(...).

Copilot AI review requested due to automatic review settings August 29, 2025 06:08
@github-actions github-actions Bot added the refactor Refactoring code or increasing performance label Aug 29, 2025

This comment was marked as outdated.

@github-actions

github-actions Bot commented Aug 29, 2025

Copy link
Copy Markdown
Contributor

☂️ Python Coverage

current status: ❌

Overall Coverage

Lines Covered Coverage Threshold Status
2653 1835 69% 50% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
t4_devkit/tier4.py 19% 🔴
TOTAL 19% 🔴

updated for commit: 467cd04 by action🐍

@ktro2828 ktro2828 force-pushed the refactor/load-table branch from 13c1454 to e7147d8 Compare August 29, 2025 06:09
Signed-off-by: ktro2828 <kotaro.uetake@tier4.jp>
@ktro2828 ktro2828 force-pushed the refactor/load-table branch from e7147d8 to 467cd04 Compare August 29, 2025 06:11
@ktro2828 ktro2828 requested a review from Copilot August 29, 2025 06:11

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

This PR refactors the table loading mechanism by extracting the private __load_table__ method from the Tier4 class into a standalone load_table function. This change improves code organization by making the table loading functionality accessible outside the class context.

  • Converts a private class method to a public module-level function
  • Updates all table loading calls in the Tier4 constructor to use the new function
  • Adds the new function to the module's __all__ export list

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread t4_devkit/tier4.py
@ktro2828 ktro2828 merged commit dfe59cb into main Aug 29, 2025
5 checks passed
@ktro2828 ktro2828 deleted the refactor/load-table branch August 29, 2025 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor Refactoring code or increasing performance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants