-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
901cfd2
commit 4066c75
Showing
421 changed files
with
84,993 additions
and
52 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1 @@ | ||
|
||
|
||
|
||
def mydeco(f): | ||
# This function is what we "replace" hello with | ||
def wrapper(*args, **kw): | ||
print(args[0]) | ||
print(args[1]) | ||
return f(*args, **kw) # Call hello | ||
|
||
return wrapper | ||
|
||
|
||
|
||
@mydeco | ||
def person(name,age,address,code): | ||
print(name,age,address,code) | ||
|
||
person("test",12,333,444) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
id,author,title,description,created_at,updated_at,total_borrow_times,quantity,category_id,publisher_id,status,floor_number,bookshelf_number,updated_by | ||
1,B1,T1,"is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,",2021-07-31 18:22:29.835365+00:00,2021-08-11 21:20:01.168843+00:00,3,18,2,2,0,1,A004,yaozeliang | ||
2,B2,T2,"is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,",2021-07-31 18:22:50.489077+00:00,2021-08-02 18:23:17.334439+00:00,0,28,3,1,0,3,C099,yaozeliang | ||
3,B3,T3,"is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,",2021-07-31 18:23:14.800909+00:00,2021-08-15 17:07:22.109490+00:00,3,43,6,4,0,2,B012,yaozeliang | ||
4,Jk.Rowling,MarkdownTestA,ADDADFADFASFS,2021-07-31 18:23:39.506959+00:00,2021-08-30 12:17:28.942049+00:00,9,17,11,3,0,1,C001,yaozeliang | ||
5,Marie-Christine Helg,Your Titleo,adfadfas,2021-07-31 20:05:51.202141+00:00,2021-08-13 13:12:35.303482+00:00,3,7,8,2,0,2,C001,yaozeliang | ||
6,Jk.Rowling,Harry Potter Children's Collection,adfaadfs,2021-08-02 17:50:43.193274+00:00,2021-08-29 14:39:26.937477+00:00,14,16,5,2,0,3,C071,admin_1 | ||
7,Test Book,Test Title,adsfadsfasdfasadsfadsfasdf,2021-08-02 18:09:29.120527+00:00,2021-08-13 13:37:31.065470+00:00,1,400,2,3,0,3,B028,yaozeliang | ||
8,A.D. Martel,Amazing Test Book,Here's the amazing book,2021-08-03 18:54:38.342004+00:00,2021-08-16 12:48:11.143559+00:00,8,90,9,2,0,1,C076,yaozeliang | ||
9,Best Author,Best Book,this is the description,2021-08-03 20:17:09.402964+00:00,2021-08-07 19:16:50.157458+00:00,6,94,7,3,0,1,C012,yaozeliang | ||
10,Jk.Rowling,Harry Potter and magic stone,adffaaaaaaaaaa,2021-08-07 17:29:19.723300+00:00,2021-08-12 18:48:33.901959+00:00,6,192,5,3,0,2,C004,yaozeliang | ||
11,Zeliang,My favourite,ADFADFADSFASDF,2021-08-20 08:38:55.975973+00:00,2021-08-30 12:05:14.639577+00:00,2,22,4,4,0,2,C091,yaozeliang |
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,13 @@ | ||
id,name,created_at | ||
2,Economics,2021-07-31 18:19:30.473140+00:00 | ||
3,Finance,2021-07-31 18:19:43.229982+00:00 | ||
4,Historical,2021-07-31 18:19:49.221871+00:00 | ||
5,Fantasy,2021-07-31 18:19:56.916918+00:00 | ||
6,Cooking,2021-07-31 18:20:02.315268+00:00 | ||
7,Computers & Tech,2021-07-31 18:20:10.279309+00:00 | ||
8,Fiction,2021-07-31 18:20:17.988670+00:00 | ||
9,Watch,2021-07-31 18:20:31.205351+00:00 | ||
10,Detective and Mystery,2021-07-31 18:20:36.975123+00:00 | ||
11,Literary Fiction,2021-07-31 18:20:41.851775+00:00 | ||
12,Comic,2021-07-31 18:20:54.997368+00:00 | ||
20,Fashion,2021-08-09 17:29:13.408340+00:00 |
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,7 @@ | ||
id,name,city,contact,created_at,updated_by,updated_at | ||
1,Pub1,Paris,[email protected],2021-07-31 18:21:19.128665+00:00,yaozeliang,2021-07-31 18:21:19.129664+00:00 | ||
2,Pub2,Beijing,[email protected],2021-07-31 18:21:27.033171+00:00,yaozeliang,2021-07-31 18:21:27.034167+00:00 | ||
3,Pub3,Rome,[email protected],2021-07-31 18:21:36.376148+00:00,yaozeliang,2021-07-31 18:21:36.376148+00:00 | ||
4,Pub4,Tokyo,[email protected],2021-07-31 18:21:53.540765+00:00,yaozeliang,2021-08-01 15:14:28.407599+00:00 | ||
5,Fake Pub 5,Paris,[email protected],2021-08-05 10:03:22.230909+00:00,yaozeliang,2021-08-16 17:06:11.552131+00:00 | ||
11,Fake Pub 99,Paris,[email protected],2021-08-29 20:57:26.189029+00:00,yaozeliang,2021-08-29 20:57:26.200985+00:00 |
Oops, something went wrong.