codegraph-python 0.4.1

Python parser plugin for CodeGraph - extracts code entities and relationships from Python source files
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
"""Product model."""

class Product:
    """Represents a product."""
    
    def __init__(self, name, price):
        self.name = name
        self.price = price
    
    def get_price(self):
        """Get the product price."""
        return self.price