Sign in
apache
/
ignite-python-thin-client
/
refs/heads/master
/
.
/
examples
/
helpers
/
converters.py
blob: 4122c4960396dd8613e1baf1d3d8338c8083ccea [
file
] [
log
] [
blame
]
def
obj_to_dict
(
obj
):
result
=
{
'type_name'
:
obj
.
type_name
}
for
data
in
obj
.
schema
:
result
.
update
({
data
:
getattr
(
obj
,
data
)})
return
result