Skip to content

Conversation

@rikunosuke
Copy link
Contributor

@rikunosuke rikunosuke commented Dec 3, 2025

概要

  • copy_projectメソッドにオプショナルなproject_nameproject_slugパラメータを追加
  • READMEドキュメントを更新し、基本的な使用方法と高度な使用方法の両方の例を追加
  • 既存のコードとの完全な後方互換性を維持

変更内容

  • fastlabel/__init__.pycopy_projectメソッドを修正し、オプショナルな名前とスラッグパラメータを受け入れるように変更
  • READMEを更新し、新機能を示す明確な例を追加
  • コピーされたプロジェクトの詳細をカスタマイズしたいユーザーのために、より柔軟なメソッドシグネチャに改善

テスト計画

  • 既存のcopy_project呼び出しが引き続き動作することを確認(後方互換性)
Screenshot 2025-12-03 at 14 12 28
  • カスタム名とスラッグの両方のパラメータを使用したcopy_projectのテスト
Screenshot 2025-12-03 at 12 36 03 Screenshot 2025-12-03 at 12 36 13
  • バリデーションエラーが発生する
Screenshot 2025-12-03 at 12 35 08 Screenshot 2025-12-03 at 12 35 35

🤖 Generated with Claude Code

- Added project_name and project_slug optional parameters to copy_project
- Updated README documentation with examples showing both basic and custom usage
- Maintains backward compatibility with existing code

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
@rikunosuke rikunosuke self-assigned this Dec 3, 2025
Copy link

@ShuheiUchida ShuheiUchida left a comment

Choose a reason for hiding this comment

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

LGTM!

@rikunosuke rikunosuke merged commit e18f3b7 into main Dec 16, 2025
1 check 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