src/rezcontroller/context.py
def create(requests):
    """
    Create a rez context from given packages

    Args:
        requests (list): List of package requests

    Returns:
        ResolvedContext: Resolved context object
    """

    packages = []

    for request in requests:
        packages.append(package.get(request=request))

    return resolved_context.ResolvedContext(package_requests=packages)

    Create a rez context from given packages

    Args:
        requests (list): List of package requests

    Returns:
        ResolvedContext: Resolved context object
    
Create a rez context from given packages
Create a rez context from given packages
def create(requests):
    packages = []
    for request in requests:
        packages.append(package.get(request=request))
    return resolved_context.ResolvedContext(package_requests=packages)
def create ( requests ) : packages = [ ] for request in requests : packages . append ( package . get ( request = request ) ) return resolved_context . ResolvedContext ( package_requests = packages )
Create a rez context from given packages
Create a rez context from given packages
"""
    Create a rez context from given packages

    Args:
        requests (list): List of package requests

    Returns:
        ResolvedContext: Resolved context object
    """
Resolved context object
Resolved context object
ResolvedContext
requests
List of package requests
List of package requests