⚝
One Hat Cyber Team
⚝
Your IP:
216.73.217.4
Server IP:
41.128.143.86
Server:
Linux host.raqmix.cloud 6.8.0-1025-azure #30~22.04.1-Ubuntu SMP Wed Mar 12 15:28:20 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.3.23
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3
/
dist-packages
/
cloudinit
/
View File Name :
type_utils.py
# Copyright (C) 2012 Canonical Ltd. # Copyright (C) 2012 Hewlett-Packard Development Company, L.P. # Copyright (C) 2012 Yahoo! Inc. # # Author: Scott Moser
# Author: Juerg Haefliger
# Author: Joshua Harlow
# # This file is part of cloud-init. See LICENSE file for license information. import types _NAME_TYPES = ( types.ModuleType, types.FunctionType, types.LambdaType, type, ) def obj_name(obj): if isinstance(obj, _NAME_TYPES): return str(obj.__name__) else: if not hasattr(obj, "__class__"): return repr(obj) else: return obj_name(obj.__class__)