Commit f9ab52ed authored by Radosław Masłowski's avatar Radosław Masłowski
Browse files

Add PY (Python Interface) foundation layer

Introduces foundational components for Python Interface (PY):
- Module structure (clive/__private/py/)
- Exceptions: PyContextManagerNotUsedError, validation errors
- Input validators: AccountName, PageSize, PageNumber, KeyPairs
- Data classes: Balances, Accounts, Authority, AuthorityInfo, Witness, WitnessesResult, KeyPair
- CommandBase for PY commands with validation support
- Foundation commands: ShowProfiles, ShowBalances, ShowAccounts, ShowWitnesses, ShowAuthority, GenerateRandomKey

The WitnessesResult dataclass provides proper encapsulation for witness queries,
returning witnesses list along with total_count and proxy metadata.
parent 35484a04
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment