-
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.
Merge pull request #40 from juliushaag/folder-restructure
Restructuring of the folders according to "Entwurfsheft"
- Loading branch information
Showing
8 changed files
with
28 additions
and
19 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,27 @@ | ||
|
||
|
||
from django.http import HttpResponse | ||
|
||
|
||
class AccountView: | ||
|
||
# / | ||
def index(request): | ||
def manage_accounts(request) -> HttpResponse: | ||
... | ||
|
||
def add_admin(request): | ||
def add_admin(request) -> HttpResponse: | ||
... | ||
|
||
def remove_admin(request) -> HttpResponse: | ||
... | ||
|
||
def authenticate(request) -> HttpResponse: | ||
... | ||
|
||
def authenticate_callback(requests) -> HttpResponse: | ||
... | ||
|
||
def get_identifier(request) -> str: | ||
... | ||
|
||
def remove_admin(request): | ||
def is_logged_in(request) -> bool: | ||
... |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from quafel_simulators.simulator import |
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 |
---|---|---|
@@ -1,11 +1,11 @@ | ||
from abc import ABC | ||
from simulation_data.simulation import SimulationGroup | ||
from simulation_data.simulation import SimulationGroup, HardwareProfile | ||
|
||
|
||
class Simulator(ABC): | ||
|
||
def simulate(self, group : SimulationGroup): | ||
def simulate(self, ip : str, port : int , simulators : list[str], qbits : set[int], ...): | ||
... | ||
|
||
def collect(self) -> dict: | ||
... | ||
... |
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 |
---|---|---|
|
@@ -11,3 +11,5 @@ def select_environments(request): | |
def submit_request(request): | ||
... | ||
|
||
def claim_results(request): | ||
... |
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