2.4.0-alpha1
Contents:
Quickstart Guide
Installation Guide
Developer Guide
Architecture Documents
Design Documents
How to build MetalK8s
How to run components locally
Development Best Practices
Python best practices
Integrating with MetalK8s
Operational Guide
Glossary
MetalK8s
Docs
»
Developer Guide
»
Development Best Practices
Edit on GitHub
Development Best Practices
¶
Python best practices
Import
Avoid
from
module_foo
import
symbol_bar
Rationale
Example
References
Naming
Predicate functions
Rationale
Example
Patterns and idioms
Don’t write code vulnerable to “Time of check to time of use”
Rationale
Examples
References
Minimize the amount of code in a
try
block
Rationale
Don’t use
hasattr
in Python 2
Rationale
Examples
References
Read the Docs
v: 2.4.0-alpha1
Versions
latest
stable
2.4.0-alpha1
2.0.0-alpha3
2.0.0-alpha2
2.0.0-alpha1
1.1.0
1.1.0-alpha1
1.0.1
1.0.0
1.0.0-rc1
0.2.0
0.2.0-rc1
0.1.1
release-2.4.0-beta2
release-2.4.0-beta1
development-2.4
development-2.3
development-2.2
development-2.1
development-2.0
development-1.3
development-1.2
development-1.1
development-1.0
development-0.2
0.1.0
Downloads
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.