Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/o/p/opbeatcli-2.0.2/opbeatcli/deployment/packages/component.py   opbeatcli(Download)
import os
 
from opbeatcli.exceptions import InvalidArgumentError
from ..vcs import VCS, find_vcs_root
from .base import BasePackage
        # Try to fetch VCS info from path if no VCS attributes specified.
        vcs_from_path = None
        vcs_root = find_vcs_root(path)
        if not kwargs['vcs'] and vcs_root:
            vcs_from_path = VCS.from_path(vcs_root)