Skip to content
Merged
4 changes: 2 additions & 2 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This document provides guidelines and best practices for using GitHub Copilot in

## 🛠️Coding Instructions for Python in This Repository

Follow these rules strictly when generating Python code:
Follow these rules **strictly** when generating Python code:

### 1. Python Version

Expand Down Expand Up @@ -43,7 +43,7 @@ Ensure compatibility with the following library versions:
* Use `f-string` formatting for all string interpolation except for logging message strings.
* Use **relative imports** within the same package/module.
* Place **all imports at the top** of the file.
* Add comments **only when the code is not self-explanatory**.
* Document functions when the code is not self-explanatory or if asked explicitly.


### 6. **JSON Serialization**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from ..email.utils import send_email_from_template
from ..products import products_web
from ..products.models import Product
from ..users import _users_service
from ..users import _accounts_service
from ..users.schemas import PreRegisteredUserGet

_logger = logging.getLogger(__name__)
Expand Down Expand Up @@ -136,6 +136,6 @@ async def create_pre_registration(
app: web.Application, *, profile: PreRegisteredUserGet, product_name: ProductName
):

await _users_service.pre_register_user(
await _accounts_service.pre_register_user(
app, profile=profile, creator_user_id=None, product_name=product_name
)
Loading
Loading