Completed
Pull Request — master (#460)
by Manas
02:18
created

HellowVsphere   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 4
Duplicated Lines 0 %
Metric Value
dl 0
loc 4
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A run() 0 2 1
1
from pyVmomi import vim
2
3
from vmwarelib import inventory
4
from vmwarelib.actions import BaseAction
5
6
7
class HellowVsphere(BaseAction):
8
9
    def run(self):
10
        return self.si_content.about.instanceUuid
11