code-moniker-workspace 0.4.0

Workspace model, ports, snapshots, linkage, and change analysis for code-moniker.
Documentation
1
2
3
4
5
6
7
8
from .constants import DEFAULT_LIMIT


def effective_limit(requested: int) -> int:
    print(requested)
    if requested <= 0:
        return DEFAULT_LIMIT
    return min(requested, DEFAULT_LIMIT)