FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python/func/python/pickle_check.py at main · faasm/python · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
faasm
/
python
Public
Notifications
You must be signed in to change notification settings
Fork
3
Star
6
Code
Issues
1
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
python
/
func
/
python
/
pickle_check.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
19 lines (13 loc) · 327 Bytes
Breadcrumbs
python
/
func
/
python
/
pickle_check.py
Copy path
File metadata and controls
19 lines (13 loc) · 327 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import
pickle
def
faasm_main
():
d
=
{
"foo"
:
123
,
"bar"
:
"baz"
}
d_pick
=
pickle
.
dumps
(
d
)
d_after
=
pickle
.
loads
(
d_pick
)
if
d
!=
d_after
:
print
(
"Dictionary not equal after pickling: {} != {}"
.
format
(
d_pick
,
d_after
)
)
return
1
return
0
Back
|
FazBrowse Home
|
New Git URL