Add diagnosis SDK domain with services and docs#73
Merged
junghoocha merged 2 commits intomainfrom Feb 3, 2026
Merged
Conversation
MinJaeLee1
approved these changes
Feb 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📋 Summary
Diagnosis 도메인용 SDK 모듈을 신규로 추가하여 Python 클라이언트에서도 Diagnosis/DiagnosisReportItem CRUD 기능을 사용할 수 있도록 했습니다.
DiagnosisPageInfo엔티티를 통해 목록 응답을 타입 안전하게 다루고, 서비스 공개 API에 대한 문서와 샘플 워크플로우 스크립트를 함께 제공합니다.🎯 Changes
Diagnosis SDK 모듈 생성 (
spb_onprem/diagnoses/)Diagnosis,DiagnosisReportItem,DiagnosisReportItemType,DiagnosisPageInfoDiagnosisStatus,DiagnosisOrderField,OrderDirectionDiagnosisService및 ReportItem 관련 메서드 구현SDK export 업데이트
spb_onprem/__init__.py에 Diagnosis 서비스와 엔티티/필터 타입을 노출서비스 문서 보강
DiagnosisService공개 메서드에 Args/Returns docstring 추가워크플로우 스크립트
sunrise-scripts/scripts/run_diagnosis_workflow.py:dataset_id인자만으로 diagnosis/diagnosis_report_item 생성→수정→삭제 흐름 테스트 가능🔧 Technical Details
diagnoses,next,totalCount)을DiagnosisPageInfoPydantic 모델로 검증하여 타입 안정성 확보UndefinedType을 활용해 GraphQL 변수에서 생략 (업데이트/삭제 시 기존 패턴 유지)