mirror of
https://github.com/proffesor-for-testing/agentic-qe.git
synced 2026-09-19 08:45:47 +08:00
e2fb4a2f14
Update ADRs 075-079 with implementation details, revise the multi-language GOAP implementation plan, add test generators and parser test fixtures for Go, Rust, Java, C#, Swift, Python. Include skill validation schema updates and v2→v3 migration skill. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
16 lines
426 B
Python
16 lines
426 B
Python
import os
|
|
from typing import List, Optional
|
|
|
|
class UserService:
|
|
def __init__(self, db: Database):
|
|
self.db = db
|
|
|
|
def get_user(self, user_id: int) -> Optional[User]:
|
|
return self.db.find(user_id)
|
|
|
|
async def create_user(self, name: str, email: str) -> User:
|
|
return await self.db.create(name=name, email=email)
|
|
|
|
def helper_function(items: List[str]) -> int:
|
|
return len(items)
|