mirror of
				https://github.com/Telecominfraproject/oopt-gnpy.git
				synced 2025-11-03 19:47:46 +00:00 
			
		
		
		
	coding style: separate property definitions from each other
While not strictly needed in Python, it's much clearer this way. Change-Id: I5f8caccde6440cb4032aae5deae577d328834a75
This commit is contained in:
		@@ -121,6 +121,7 @@ class Request_element(Element):
 | 
				
			|||||||
            self.path_bandwidth = 0
 | 
					            self.path_bandwidth = 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    uid = property(lambda self: repr(self))
 | 
					    uid = property(lambda self: repr(self))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @property
 | 
					    @property
 | 
				
			||||||
    def pathrequest(self):
 | 
					    def pathrequest(self):
 | 
				
			||||||
        # Default assumption for bidir is False
 | 
					        # Default assumption for bidir is False
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -140,7 +140,9 @@ class ResultElement(Element):
 | 
				
			|||||||
        # starting implementing reversed properties in case of bidir demand
 | 
					        # starting implementing reversed properties in case of bidir demand
 | 
				
			||||||
        if reversed_computed_path is not None:
 | 
					        if reversed_computed_path is not None:
 | 
				
			||||||
            self.reversed_computed_path = reversed_computed_path
 | 
					            self.reversed_computed_path = reversed_computed_path
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    uid = property(lambda self: repr(self))
 | 
					    uid = property(lambda self: repr(self))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @property
 | 
					    @property
 | 
				
			||||||
    def detailed_path_json(self):
 | 
					    def detailed_path_json(self):
 | 
				
			||||||
        """ a function that builds path object for normal and blocking cases
 | 
					        """ a function that builds path object for normal and blocking cases
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user