This website requires JavaScript.
Explore
Help
Sign In
unit
/
phi
Watch
12
Star
1
Fork
You've already forked phi
0
Code
Issues
5
Pull Requests
1
Releases
Activity
bec6123d47
phi
/
src
/
phi
/
ldap
/
utils.py
4 lines
114 B
Python
Raw
Blame
History
def
flatten_attributes
(
d
)
:
return
{
k
:
(
v
[
0
]
if
isinstance
(
v
,
list
)
else
v
)
for
k
,
v
in
d
.
items
(
)
}
Reference in New Issue
View Git Blame
Copy Permalink