forked from algoritmos-rw/algo2_sistema_entregas
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Incluir en CorrectorTask el alu_repo a donde sincronizar la entrega
Estos son los cambios requeridos en el "backend" (corrector.py), lo siguiente es que el frontend (main.py) complete el campo alu_repo de la tarea CorregirTask—leyendo para ello la planilla, y las guidelines de algoritmos-rw#49. Como seguramente haga merge de este PR una vez a la par que el PR del front-end, voy a decir que this closes: algoritmos-rw#51.
- Loading branch information
Showing
5 changed files
with
40 additions
and
35 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
from dataclasses import dataclass, field | ||
|
||
|
||
@dataclass | ||
class Repo: | ||
name: str = field(init=False) | ||
owner: str = field(init=False) | ||
full_name: str | ||
|
||
def __post_init__(self): | ||
self.owner, self.name = self.full_name.split("/", 1) |
This file contains 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
This file contains 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
This file contains 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
This file contains 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