File size: 2,399 Bytes
b7a7f32
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
from typing import List
from pydantic import Json

from datetime import datetime, timedelta

assignments: List[Json] = [
    {
    "due_date":datetime.utcnow() + timedelta(hours=4),
    "marks": 10,
    "title": "Assignment on Mathematical Structures",
    "contents": "Complete the assignment looking at the following questions.",
    "instructor": [10, 9],
    "group": [3,1],
    "course_id": 1,
    },
    {
    "due_date":datetime(2021, 8, 20, 14, 00, 00),
    "marks": 20,
    "title": "Assignment on Environmental Sustainability",
    "contents": "Complete the assignment looking at the following questions.",
    "instructor":[8, 9],
    "group": [3,1,2],
    "course_id": 3,
    },
    {
    "due_date":datetime.utcnow() + timedelta(hours=-4),
    "marks": 30,
    "title": "Assignment on  Time Complexity of Algorithms",
    "contents": "Descirbe the time complexity of the following algorithms: Merge Sort and Bubble Sort",
    "instructor":[8],
    "group": [3,1,2],
    "course_id": 2,
    },
    {
    "due_date":datetime(2022, 5, 10, 14, 00, 00),
    "marks": 10,
    "title": "Assignment on  Green Energy",
    "contents": "Discuss Green Energy and its Principles indepth.",
    "instructor":[8],
    "group": [3,1],
    "course_id": 4,
    },{
    "due_date":datetime(2022, 5, 11, 14, 00, 00),
    "marks": 10,
    "title": "Assignment on Environmental Sustainability",
    "contents": "What do you mean by environmental sustainability.",
    "instructor":[9,10],
    "group": [3,1,2],
    "course_id": 3,
    },
    {
    "due_date":datetime(2022, 5, 12, 14, 00, 00),
    "marks": 100,
    "title": "Assignment on Database",
    "contents": "Prepare a detailed paper on the Fundamentals of Normalization and the need for it.",
    "instructor": [8],
    "group": [3,1,2],
    "course_id": 2,
    },
    {
    "due_date":datetime(2022, 5, 12, 14, 00, 00),
    "marks": 15,
    "title": "Assignment on Business",
    "contents": "Discuss the dos and donts of getting started with business.",
    "instructor": [9],
    "group": [3,1,7],
    "course_id": 10,
    },
    {
    "due_date":datetime(2021, 5, 12, 14, 00, 00),
    "marks": 15,
    "title": "Criminal Law Assignment",
    "contents": "Criminal Law: What is it, and What are the current trails are proceeding under the offence listed in it.",
    "instructor": [8,9,10],
    "group": [3,1,9,2],
    "course_id": 8,
    },
]