ats_utilities.info.ats_version module¶
- Module
- ats_version.py
- Copyright
- Copyright (C) 2017 Vladimir Roncevic <elektron.ronca@gmail.com> ats_utilities is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. ats_utilities is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
- Info
- Defined class ATSVersion with attribute(s) and method(s). Created API for ATS version in one property object.
-
class
ats_utilities.info.ats_version.
ATSVersion
(verbose=False)[source]¶ Bases:
object
Defined class ATSVersion with attribute(s) and method(s). Created API for ATS version in one property object. It defines:
attributes: __verbose - enable/disable verbose option.__version - ATS version.methods: __init__ - initial constructor.version - property methods for set/get operations.is_not_none - checking is ATS version None.__str__ - str dunder method for ATSVersion.-
VERBOSE
= 'ats_utilities::info::ats_version'¶
-
is_not_none
()[source]¶ Checking is ATS version None.
Returns: boolean status, True | False. Return type: <bool> Exceptions: None
-
version
¶ Property method for getting ATS version.
Returns: ATS version | None. Return type: <str> | <NoneType> Exceptions: None
-