12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-04-04T02:02:17.601273 #1] INFO -- : Skipping file ./examples/clawback.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 66
print(f"SetOptions Op Resp:\n{resp}")
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.609878 #1] INFO -- : Skipping file ./examples/amm.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 28
print(f"Liquidity Pool ID: {liquidity_pool_id}")
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.612436 #1] INFO -- : Skipping file ./examples/soroban_auth_atomic_swap.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 85
print(f"Got exception: {e.simulate_transaction_response}")
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.620796 #1] INFO -- : Skipping file ./examples/sign_with_hashx.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 48
print(f"add_signer_transaction_resp: {add_signer_transaction_resp}")
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.623271 #1] INFO -- : Skipping file ./examples/soroban_auth_with_stellar_account.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 67
print(f"Got exception: {e.simulate_transaction_response}")
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.631728 #1] INFO -- : Skipping file ./examples/soroban_auth_with_transaction_invoke.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 41
print(f"Got exception: {e.simulate_transaction_response}")
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.634168 #1] INFO -- : Skipping file ./examples/payment_async.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 52
async def main():
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.660223 #1] INFO -- : Skipping file ./examples/issue_asset.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 49
print(f"Change Trust Op Resp:\n{resp}")
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.687535 #1] INFO -- : Skipping file ./examples/soroban_invoke_contract_function.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 41
print(f"XDR: {tx.to_xdr()}")
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.689856 #1] INFO -- : Skipping file ./examples/soroban_restore_footprint.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 45
print(f"XDR: {tx.to_xdr()}")
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.698227 #1] INFO -- : Skipping file ./examples/txrep_demo.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 38
print(f"txrep: \n{txrep}")
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.708864 #1] INFO -- : Skipping file ./examples/multisig_xdr.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 35
print(f"xdr: {xdr}")
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.715869 #1] INFO -- : Skipping file ./examples/soroban_deploy_contract.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 37
print(f"Got exception: {e.simulate_transaction_response}")
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.721775 #1] INFO -- : Skipping file ./examples/soroban_payment.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 46
print(f"Got exception: {e.simulate_transaction_response}")
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.726610 #1] INFO -- : Skipping file ./examples/query_horizon.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 18
print(f"Gets all payment operations associated with {account}.")
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.732311 #1] INFO -- : Skipping file ./examples/create_account.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 28
print(f"Transaction hash: {response['hash']}")
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.743348 #1] INFO -- : Skipping file ./examples/manage_sell_offer.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 31
print(f"Seller Account Secret Key: {seller_secret_key}")
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.762376 #1] INFO -- : Skipping file ./examples/transaction_challenge.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 119
print(f"Signer: {signer.account_id}, weight: {signer.weight}")
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.765265 #1] INFO -- : Skipping file ./examples/soroban_deploy_create_wrapped_token_contract.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 40
print(f"Got exception: {e.simulate_transaction_response}")
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.773120 #1] INFO -- : Skipping file ./examples/ed25519_signed_payload.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 13
print(f"encoded ed25519 signed payload: {encoded_key}")
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.775907 #1] INFO -- : Skipping file ./examples/stream_requests_async.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 11
async def payments():
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.783687 #1] INFO -- : Skipping file ./examples/payment_muxed_account.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 20
print(f"account_id_muxed: {bob_account.account_muxed}")
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.786392 #1] INFO -- : Skipping file ./examples/create_keypair.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 11
print(f"Secret: {kp.secret}")
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.794317 #1] INFO -- : Skipping file ./examples/soroban_extend_footprint_ttl.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 45
print(f"XDR: {tx.to_xdr()}")
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.810014 #1] INFO -- : Skipping file stellar_sdk/preconditions.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 31
time_bounds: TimeBounds = None,
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.819977 #1] INFO -- : Skipping file stellar_sdk/server_async.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 48
horizon_url: str = "https://horizon-testnet.stellar.org/",
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.821113 #1] INFO -- : Skipping file stellar_sdk/base_soroban_server.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 20
cpu_instructions: int
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.831267 #1] INFO -- : Skipping file stellar_sdk/account.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 40
account: Union[str, MuxedAccount],
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.832126 #1] INFO -- : Skipping file stellar_sdk/transaction_envelope.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 35
transaction: Transaction,
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.847223 #1] INFO -- : Skipping file stellar_sdk/asset.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 45
def __init__(self, code: str, issuer: Optional[str] = None) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.848680 #1] INFO -- : Skipping file stellar_sdk/memo.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 11
class Memo(object, metaclass=abc.ABCMeta):
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.858041 #1] INFO -- : Skipping file stellar_sdk/transaction.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 60
source: Union[MuxedAccount, Keypair, str],
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.859247 #1] INFO -- : Skipping file stellar_sdk/network.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 16
PUBLIC_NETWORK_PASSPHRASE: str = "Public Global Stellar Network ; September 2015"
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.868993 #1] INFO -- : Skipping file stellar_sdk/helpers.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 10
xdr: str, network_passphrase: str
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.869987 #1] INFO -- : Skipping file ./stellar_sdk/operation/payment.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 31
_XDR_OPERATION_TYPE: stellar_xdr.OperationType = stellar_xdr.OperationType.PAYMENT
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.879625 #1] INFO -- : Skipping file ./stellar_sdk/operation/create_claimable_balance.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 34
def __init__(self, left: "ClaimPredicate", right: "ClaimPredicate") -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.880663 #1] INFO -- : Skipping file ./stellar_sdk/operation/clawback.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 30
_XDR_OPERATION_TYPE: stellar_xdr.OperationType = stellar_xdr.OperationType.CLAWBACK
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.890373 #1] INFO -- : Skipping file ./stellar_sdk/operation/path_payment_strict_receive.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 35
_XDR_OPERATION_TYPE: stellar_xdr.OperationType = (
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.891287 #1] INFO -- : Skipping file ./stellar_sdk/operation/extend_footprint_ttl.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 23
_XDR_OPERATION_TYPE: stellar_xdr.OperationType = (
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.901077 #1] INFO -- : Skipping file ./stellar_sdk/operation/set_trust_line_flags.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 50
_XDR_OPERATION_TYPE: stellar_xdr.OperationType = (
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.902020 #1] INFO -- : Skipping file ./stellar_sdk/operation/liquidity_pool_deposit.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 33
_XDR_OPERATION_TYPE: stellar_xdr.OperationType = (
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.911678 #1] INFO -- : Skipping file ./stellar_sdk/operation/invoke_host_function.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 23
_XDR_OPERATION_TYPE: stellar_xdr.OperationType = (
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.912553 #1] INFO -- : Skipping file ./stellar_sdk/operation/restore_footprint.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 21
_XDR_OPERATION_TYPE: stellar_xdr.OperationType = (
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.922551 #1] INFO -- : Skipping file ./stellar_sdk/operation/create_passive_sell_offer.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 48
_XDR_OPERATION_TYPE: stellar_xdr.OperationType = (
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.923405 #1] INFO -- : Skipping file ./stellar_sdk/operation/set_options.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 81
_XDR_OPERATION_TYPE: stellar_xdr.OperationType = (
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.933272 #1] INFO -- : Skipping file ./stellar_sdk/operation/change_trust.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 35
_XDR_OPERATION_TYPE: stellar_xdr.OperationType = (
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.934055 #1] INFO -- : Skipping file ./stellar_sdk/operation/inflation.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 21
_XDR_OPERATION_TYPE: stellar_xdr.OperationType = stellar_xdr.OperationType.INFLATION
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.944076 #1] INFO -- : Skipping file ./stellar_sdk/operation/create_account.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 34
_XDR_OPERATION_TYPE: stellar_xdr.OperationType = (
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.944720 #1] INFO -- : Skipping file ./stellar_sdk/operation/allow_trust.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 56
_XDR_OPERATION_TYPE: stellar_xdr.OperationType = (
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.954785 #1] INFO -- : Skipping file ./stellar_sdk/operation/clawback_claimable_balance.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 28
_XDR_OPERATION_TYPE: stellar_xdr.OperationType = (
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.955436 #1] INFO -- : Skipping file ./stellar_sdk/operation/manage_sell_offer.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 41
_XDR_OPERATION_TYPE: stellar_xdr.OperationType = (
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.965321 #1] INFO -- : Skipping file ./stellar_sdk/operation/account_merge.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 26
_XDR_OPERATION_TYPE: stellar_xdr.OperationType = (
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.966046 #1] INFO -- : Skipping file ./stellar_sdk/operation/manage_buy_offer.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 41
_XDR_OPERATION_TYPE: stellar_xdr.OperationType = (
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.978210 #1] INFO -- : Skipping file ./stellar_sdk/operation/claim_claimable_balance.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 27
_XDR_OPERATION_TYPE: stellar_xdr.OperationType = (
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.988639 #1] INFO -- : Skipping file ./stellar_sdk/operation/end_sponsoring_future_reserves.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 24
_XDR_OPERATION_TYPE: stellar_xdr.OperationType = (
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.989240 #1] INFO -- : Skipping file ./stellar_sdk/operation/begin_sponsoring_future_reserves.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 28
_XDR_OPERATION_TYPE: stellar_xdr.OperationType = (
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.999449 #1] INFO -- : Skipping file ./stellar_sdk/operation/liquidity_pool_withdraw.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 31
_XDR_OPERATION_TYPE: stellar_xdr.OperationType = (
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:17.999989 #1] INFO -- : Skipping file ./stellar_sdk/operation/revoke_sponsorship.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 36
def __init__(self, account_id: str, asset: Union[Asset, LiquidityPoolId]) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.010286 #1] INFO -- : Skipping file ./stellar_sdk/operation/path_payment_strict_send.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 35
_XDR_OPERATION_TYPE: stellar_xdr.OperationType = (
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.010797 #1] INFO -- : Skipping file ./stellar_sdk/operation/manage_data.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 35
_XDR_OPERATION_TYPE: stellar_xdr.OperationType = (
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.020966 #1] INFO -- : Skipping file ./stellar_sdk/operation/operation.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 12
class Operation(metaclass=ABCMeta):
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.021689 #1] INFO -- : Skipping file ./stellar_sdk/operation/bump_sequence.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 28
_XDR_OPERATION_TYPE: stellar_xdr.OperationType = (
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.037314 #1] INFO -- : Skipping file stellar_sdk/price.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 24
def __init__(self, n: int, d: int) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.037885 #1] INFO -- : Skipping file ./stellar_sdk/client/response.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 16
def __init__(self, status_code: int, text: str, headers: dict, url: str) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.048502 #1] INFO -- : Skipping file ./stellar_sdk/client/requests_client.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 21
USER_AGENT = f"py-stellar-base/{__version__}/RequestsClient"
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.049081 #1] INFO -- : Skipping file ./stellar_sdk/client/base_sync_client.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 9
class BaseSyncClient(metaclass=ABCMeta):
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.059440 #1] INFO -- : Skipping file ./stellar_sdk/client/simple_requests_client.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 11
USER_AGENT = f"py-stellar-base/{__version__}/SimpleRequestsClient"
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.060002 #1] INFO -- : Skipping file ./stellar_sdk/client/aiohttp_client.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 16
USER_AGENT = f"py-stellar-base/{__version__}/AiohttpClient"
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.081306 #1] INFO -- : Skipping file ./stellar_sdk/client/base_async_client.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 9
class BaseAsyncClient(metaclass=ABCMeta):
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.082264 #1] INFO -- : Skipping file stellar_sdk/base_server.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 48
transaction_envelope: Union[
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.092005 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/base/base_trades_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 17
def __init__(self, horizon_url: str) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.093031 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/base/base_payments_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 16
def __init__(self, horizon_url: str) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.103018 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/base/base_strict_receive_paths_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 41
source: Union[str, List[Asset]],
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.103797 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/base/base_data_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 16
def __init__(self, account_id: str, data_name: str, **kwargs) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.113721 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/base/base_transactions_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 16
def __init__(self, horizon_url: str) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.114466 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/base/base_ledgers_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 16
def __init__(self, horizon_url: str) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.124259 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/base/base_operations_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 16
def __init__(self, horizon_url) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.124958 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/base/base_assets_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 14
def __init__(self, horizon_url: str) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.134776 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/base/base_trades_aggregation_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 29
base: Asset,
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.135649 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/base/base_strict_send_paths_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 41
source_asset: Asset,
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.145386 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/base/base_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 21
def __init__(self, horizon_url: str) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.146265 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/base/base_claimable_balances_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 16
def __init__(self, horizon_url) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.156133 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/base/base_root_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 12
def __init__(self, horizon_url: str) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.157193 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/base/base_liquidity_pools_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 18
def __init__(self, horizon_url: str) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.166811 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/base/base_orderbook_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 17
def __init__(self, selling: Asset, buying: Asset, **kwargs) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.167960 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/base/base_fee_stats_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 14
def __init__(self, horizon_url: str) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.179040 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/base/base_offers_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 17
def __init__(self, horizon_url: str) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.189129 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/base/base_effects_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 16
def __init__(self, horizon_url: str) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.189816 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/base/base_accounts_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 16
def __init__(self, horizon_url) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.200392 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/call_builder_sync/strict_receive_paths_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 44
horizon_url: str,
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.210431 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/call_builder_sync/payments_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 18
def __init__(self, horizon_url: str, client: BaseSyncClient) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.211114 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/call_builder_sync/effects_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 18
def __init__(self, horizon_url: str, client: BaseSyncClient) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.221069 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/call_builder_sync/data_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 22
horizon_url: str,
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.221745 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/call_builder_sync/offers_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 18
def __init__(self, horizon_url: str, client: BaseSyncClient) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.231566 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/call_builder_sync/accounts_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 18
def __init__(self, horizon_url, client: BaseSyncClient) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.232301 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/call_builder_sync/claimable_balances_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 18
def __init__(self, horizon_url, client: BaseSyncClient) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.242245 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/call_builder_sync/transactions_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 18
def __init__(self, horizon_url: str, client: BaseSyncClient) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.242900 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/call_builder_sync/root_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 16
def __init__(self, horizon_url: str, client: BaseSyncClient) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.252940 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/call_builder_sync/assets_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 18
def __init__(self, horizon_url: str, client: BaseSyncClient) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.253453 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/call_builder_sync/base_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 21
def __init__(self, client: BaseSyncClient, **kwargs) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.263507 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/call_builder_sync/operations_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 18
def __init__(self, horizon_url, client: BaseSyncClient) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.264032 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/call_builder_sync/liquidity_pools_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 18
def __init__(self, horizon_url: str, client: BaseSyncClient) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.273992 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/call_builder_sync/trades_aggregation_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 33
horizon_url: str,
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.274608 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/call_builder_sync/ledgers_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 18
def __init__(self, horizon_url: str, client: BaseSyncClient) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.284811 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/call_builder_sync/strict_send_paths_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 44
horizon_url: str,
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.295645 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/call_builder_sync/fee_stats_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 18
def __init__(self, horizon_url: str, client: BaseSyncClient) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.297569 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/call_builder_sync/trades_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 18
def __init__(self, horizon_url: str, client: BaseSyncClient) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.306225 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/call_builder_sync/orderbook_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 23
horizon_url: str,
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.308230 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/call_builder_async/strict_receive_paths_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 44
horizon_url: str,
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.316785 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/call_builder_async/payments_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 18
def __init__(self, horizon_url: str, client: BaseAsyncClient) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.318881 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/call_builder_async/effects_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 18
def __init__(self, horizon_url: str, client: BaseAsyncClient) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.327881 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/call_builder_async/data_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 22
horizon_url: str,
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.329537 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/call_builder_async/offers_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 18
def __init__(self, horizon_url: str, client: BaseAsyncClient) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.338545 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/call_builder_async/accounts_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 18
def __init__(self, horizon_url, client: BaseAsyncClient) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.340006 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/call_builder_async/claimable_balances_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 18
def __init__(self, horizon_url, client: BaseAsyncClient) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.349501 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/call_builder_async/transactions_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 18
def __init__(self, horizon_url: str, client: BaseAsyncClient) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.351347 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/call_builder_async/root_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 16
def __init__(self, horizon_url: str, client: BaseAsyncClient) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.365580 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/call_builder_async/assets_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 18
def __init__(self, horizon_url: str, client: BaseAsyncClient) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.366848 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/call_builder_async/base_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 21
def __init__(self, client: BaseAsyncClient, **kwargs) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.376162 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/call_builder_async/operations_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 18
def __init__(self, horizon_url, client: BaseAsyncClient) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.377601 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/call_builder_async/liquidity_pools_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 18
def __init__(self, horizon_url: str, client: BaseAsyncClient) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.386996 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/call_builder_async/trades_aggregation_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 33
horizon_url: str,
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.388209 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/call_builder_async/ledgers_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 18
def __init__(self, horizon_url: str, client: BaseAsyncClient) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.397635 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/call_builder_async/strict_send_paths_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 44
horizon_url: str,
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.408208 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/call_builder_async/fee_stats_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 18
def __init__(self, horizon_url: str, client: BaseAsyncClient) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.410184 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/call_builder_async/trades_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 18
def __init__(self, horizon_url: str, client: BaseAsyncClient) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.418896 #1] INFO -- : Skipping file ./stellar_sdk/call_builder/call_builder_async/orderbook_call_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 23
horizon_url: str,
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.423420 #1] INFO -- : Skipping file stellar_sdk/soroban_server.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 43
server_url: str = "https://soroban-testnet.stellar.org:443",
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.429463 #1] INFO -- : Skipping file stellar_sdk/address.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 30
def __init__(self, address: str):
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.433990 #1] INFO -- : Skipping file stellar_sdk/soroban_rpc.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 19
jsonrpc: str = "2.0"
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.440313 #1] INFO -- : Skipping file stellar_sdk/server.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 44
horizon_url: str = "https://horizon-testnet.stellar.org/",
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.444608 #1] INFO -- : Skipping file stellar_sdk/keypair.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 36
self, verify_key: ed25519.VerifyKey, signing_key: ed25519.SigningKey = None
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.451129 #1] INFO -- : Skipping file stellar_sdk/strkey.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 32
def encode_ed25519_public_key(data: bytes) -> str:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.455068 #1] INFO -- : Skipping file stellar_sdk/signer.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 26
def __init__(self, signer_key: SignerKey, weight: int) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.461663 #1] INFO -- : Skipping file stellar_sdk/auth.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 17
entry: Union[stellar_xdr.SorobanAuthorizationEntry, str],
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.465653 #1] INFO -- : Skipping file stellar_sdk/signer_key.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 25
def __init__(self, account_id: str, payload: bytes) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.472454 #1] INFO -- : Skipping file stellar_sdk/scval.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 52
def to_address(data: Union[Address, str]) -> stellar_xdr.SCVal:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.476216 #1] INFO -- : Skipping file stellar_sdk/base_transaction_envelope.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 17
network_passphrase: str,
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.482924 #1] INFO -- : Skipping file stellar_sdk/ledger_bounds.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 16
def __init__(self, min_ledger: int, max_ledger: int) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.486701 #1] INFO -- : Skipping file stellar_sdk/decorated_signature.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 9
signature_hint: bytes,
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.493709 #1] INFO -- : Skipping file stellar_sdk/fee_bump_transaction_envelope.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 34
transaction: FeeBumpTransaction,
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.504564 #1] INFO -- : Skipping file stellar_sdk/time_bounds.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 25
def __init__(self, min_time: int, max_time: int) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.510083 #1] INFO -- : Skipping file stellar_sdk/liquidity_pool_id.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 16
def __init__(self, liquidity_pool_id: str) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.515292 #1] INFO -- : Skipping file stellar_sdk/utils.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 17
MUXED_ACCOUNT_STARTING_LETTER: str = "M"
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.520803 #1] INFO -- : Skipping file stellar_sdk/exceptions.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 94
def __init__(self, response: Response) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.526015 #1] INFO -- : Skipping file stellar_sdk/muxed_account.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 40
def __init__(self, account_id: str, account_muxed_id: Optional[int] = None) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.531573 #1] INFO -- : Skipping file stellar_sdk/liquidity_pool_asset.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 26
self, asset_a: Asset, asset_b: Asset, fee: int = LIQUIDITY_POOL_FEE_V18
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.536573 #1] INFO -- : Skipping file ./stellar_sdk/sep/ed25519_public_key_signer.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 2
def __init__(self, account_id: str, weight: int = 0) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.542659 #1] INFO -- : Skipping file ./stellar_sdk/sep/stellar_uri.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 25
STELLAR_SCHEME: str = "web+stellar"
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.547297 #1] INFO -- : Skipping file ./stellar_sdk/sep/federation.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 39
account_id: str,
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.553201 #1] INFO -- : Skipping file ./stellar_sdk/sep/stellar_toml.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 25
domain: str,
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.558007 #1] INFO -- : Skipping file ./stellar_sdk/sep/toid.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 34
self, ledger_sequence: int, transaction_order: int, operation_order: int
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.563819 #1] INFO -- : Skipping file ./stellar_sdk/sep/mnemonic.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 40
def __init__(self, language: Union[str, Language] = Language.ENGLISH) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.569213 #1] INFO -- : Skipping file ./stellar_sdk/sep/txrep.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 50
transaction_envelope: Union[TransactionEnvelope, FeeBumpTransactionEnvelope],
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.574762 #1] INFO -- : Skipping file ./stellar_sdk/sep/stellar_web_authentication.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 36
MUXED_ACCOUNT_STARTING_LETTER: str = "M"
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.585606 #1] INFO -- : Skipping file ./stellar_sdk/sep/exceptions.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 22
def __init__(self, response) -> None:
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.590338 #1] INFO -- : Skipping file stellar_sdk/__version__.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 13
__issues__ = f"{__url__}/issues"
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.596721 #1] INFO -- : Skipping file stellar_sdk/transaction_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 97
source_account: Account,
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.601050 #1] INFO -- : Skipping file stellar_sdk/soroban_data_builder.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 38
cls, soroban_data: Union[str, stellar_xdr.SorobanTransactionData]
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.607380 #1] INFO -- : Skipping file stellar_sdk/soroban_server_async.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 43
server_url: str = "https://soroban-testnet.stellar.org:443",
^
SyntaxError: invalid syntax
I, [2024-04-04T02:02:18.611655 #1] INFO -- : Skipping file stellar_sdk/fee_bump_transaction.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 28
fee_source: Union[MuxedAccount, Keypair, str],
^
SyntaxError: invalid syntax
|
INFO: Java 1.8.0_111-internal Oracle Corporation (64-bit)
INFO: Linux 4.4.0-1128-aws amd64
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/src/app/build/libs/sonarlint-core-2.17.0.899.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/src/app/build/libs/sonarlint-cli-2.1.0.566.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
INFO: Index files
INFO: 211 files indexed
ERROR: Unable to parse file: /code/examples/query_horizon.py
ERROR: Parse error at line 25 column 20:
21: False).limit(10)
22: )
23: payments_records += payments_call_builder.call()["_embedded"]["records"]
24: page_count = 0
--> while page_records := payments_call_builder.next()["_embedded"]["records"]:
26: payments_records += page_records
27: print(f"Page {page_count} fetched")
28: print(f"data: {page_records}")
29: page_count
ERROR: Unable to parse file: /code/stellar_sdk/preconditions.py
ERROR: Parse error at line 159 column 25:
154: is not None
155: else None
156: )
157: min_sequence_age = xdr_object.v2.min_seq_age.duration.uint64
158: min_sequence_ledger_gap = xdr_object.v2.min_seq_ledger_gap.uint32
--> extra_signers: Optional[List[SignerKey]] = [
160: SignerKey.from_xdr_object(s) for s in xdr_object.v2.extra_signers
161: ]
162: return cls(
163: time_bounds
ERROR: Unable to parse file: /code/stellar_sdk/server_async.py
ERROR: Parse error at line 51 column 24:
25: """ServerAsync handles the network connection to a `Horizon <https://developers.stellar.org/api/introduction/>`_
26: instance and exposes an interface for requests to that instance.
27:
28: An example::
29:
30: import asyncio
31: from stellar_sdk import ServerAsync
32:
33: async def example():
34: async with ServerAsync("https://horizon-testnet.stellar.org") as server:
35: resp = await server.transactions().limit(10).order(desc=True).call()
36: print(resp)
37:
38: asyncio.run(example())
39:
40: :param horizon_url: Horizon Server URL
41: (ex. ``"https://horizon-testnet.stellar.org"`` for test network,
42: ``"https://horizon.stellar.org"`` for public network)
43: :param client: Http client used to send the request
44: """
45:
46: def __init__(
47: self,
48: horizon_url: str = "https://horizon-testnet.stellar.org/",
49: client: BaseAsyncClient = None,
50: ) -> None:
--> self.horizon_url: str = horizon_url
52:
53: if not client:
54: client = AiohttpClient()
55: self._client: BaseAsyncClient = client
56:
57: async def submit_transaction
ERROR: Unable to parse file: /code/stellar_sdk/base_soroban_server.py
ERROR: Parse error at line 20 column 20:
10: .soroban_rpc import *
11:
12: if TYPE_CHECKING:
13: from .transaction_envelope import TransactionEnvelope
14:
15:
16: @dataclasses.dataclass
17: class ResourceLeeway:
18: """Describes additional resource leeways for transaction simulation."""
19:
--> cpu_instructions: int
21:
22:
23: class Durability(Enum):
24: TEMPORARY = "temporary"
25: PERSISTENT = "persistent"
26:
27:
28: def _generate_unique_request_id() -> str:
29:
ERROR: Unable to parse file: /code/stellar_sdk/account.py
ERROR: Parse error at line 45 column 24:
42: : Dict[str, Any] = None,
43: ) -> None:
44: if isinstance(account, str):
--> self.account: MuxedAccount = MuxedAccount.from_account(account)
46: else:
47: self.account = account
48: self.sequence: int = sequence
49:
ERROR: Unable to parse file: /code/stellar_sdk/transaction_envelope.py
ERROR: Parse error at line 40 column 24:
37: signatures: Sequence[DecoratedSignature] = None,
38: ) -> None:
39: super().__init__(network_passphrase, signatures)
--> self.transaction: Transaction = transaction
41:
42: def signature_base(self) -> bytes:
43: """Get the signature base of this transaction envelope.
44:
45: Return the "signature base" of this transaction, which is the value
46: that, when hashed, should be signed to create a signature that
47: validators on the Stellar Network will accept.
48:
49: It is composed of a 4 prefix bytes followed by the xdr-encoded form of
50: this transaction.
51:
52: :return: The signature base of this transaction envelope.
53:
54: """
55: network_id = self._network_id
56: tx = self.transaction
ERROR: Unable to parse file: /code/stellar_sdk/asset.py
ERROR: Parse error at line 56 column 17:
50: "The issuer cannot be `None` except for the native asset."
51: )
52:
53: if issuer is not None and not StrKey.is_valid_ed25519_public_key(issuer):
54: raise AssetIssuerInvalidError("The issuer should be a correct public key.")
55:
--> self.code: str = code
57: self.issuer: Optional[str] = issuer
58: self._type: str = self.guess_asset_type()
59:
60: @
ERROR: Unable to parse file: /code/stellar_sdk/memo.py
ERROR: Parse error at line 102 column 22:
99: None:
100: if not isinstance(text, bytes):
101: text = bytes(text, encoding="utf-8")
--> self.memo_text: bytes = text
103:
104: length = len(self.memo_text)
105: if length > 28:
106: raise MemoInvalidException(
107: f"Text should be <= 28 bytes (ascii encoded), got {length} bytes."
108: )
109:
110: @
ERROR: Unable to parse file: /code/stellar_sdk/transaction.py
ERROR: Parse error at line 84 column 19:
80: (source)
81: if isinstance(source, Keypair):
82: source = MuxedAccount.from_account(source.public_key)
83:
--> self.source: MuxedAccount = source
85: self.sequence: int = sequence
86: self.operations: List[Operation] = list(operations) if operations else [
ERROR: Unable to parse file: /code/stellar_sdk/network.py
ERROR: Parse error at line 16 column 29:
1: from .utils import sha256
2:
3: __all__ = ["Network"]
4:
5:
6: class Network:
7: """The :class:`Network` object, which represents a Stellar network.
8:
9: This class represents such a stellar network such as the Public network and the Test network.
10:
11: :param network_passphrase: The passphrase for the network.
12: (ex. ``"Public Global Stellar Network ; September 2015"``)
13:
14: """
15:
--> PUBLIC_NETWORK_PASSPHRASE: str = "Public Global Stellar Network ; September 2015"
17: """The Public network passphrase."""
18:
19: TESTNET_NETWORK_PASSPHRASE: str = "Test SDF Network ; September 2015"
20: """The Test network passphrase."""
21:
22: FUTURENET_NETWORK_PASSPHRASE: str = "Test SDF Future Network ; October 2022"
23: """The Future network passphrase."""
24:
25: STANDALONE_NETWORK_PASSPHRASE: str = "Standalone Network ; February 2017"
26: """The Standalone network passphrase."""
ERROR: Unable to parse file: /code/stellar_sdk/operation/payment.py
ERROR: Parse error at line 31 column 23:
7: from ..utils import raise_if_not_valid_amount
8: from .operation import Operation
9:
10: __all__ = ["Payment"]
11:
12:
13: class Payment(Operation):
14: """The :class:`Payment` object, which represents a Payment operation on
15: Stellar's network.
16:
17: Sends an amount in a specific asset to a destination account.
18:
19: Threshold: Medium
20:
21: See `Payment <https://developers.stellar.org/docs/start/list-of-operations/#payment>`_ for more information.
22:
23: :param destination: The destination account ID.
24: :param asset: The asset to send.
25: :param amount: The amount to send.
26: :param source: The source account for the operation. Defaults to the
27: transaction's source account.
28:
29: """
30:
--> _XDR_OPERATION_TYPE: stellar_xdr.OperationType = stellar_xdr.OperationType.PAYMENT
32:
33: def __init__(
34: self,
35: destination: Union[MuxedAccount, str],
36: asset: Asset,
37: amount
ERROR: Unable to parse file: /code/stellar_sdk/operation/create_claimable_balance.py
ERROR: Parse error at line 336 column 22:
332: > None:
333: self.destination = destination
334: if predicate is None:
335: predicate = ClaimPredicate.predicate_unconditional()
--> self.predicate: ClaimPredicate = predicate
337: raise_if_not_valid_ed25519_public_key(self.destination, "destination")
338:
339: def to_xdr_object(self) -> stellar_xdr.Claimant:
340: claimant_v0 =
ERROR: Unable to parse file: /code/stellar_sdk/operation/clawback.py
ERROR: Parse error at line 30 column 23:
7: from ..utils import raise_if_not_valid_amount
8: from .operation import Operation
9:
10: __all__ = ["Clawback"]
11:
12:
13: class Clawback(Operation):
14: """The :class:`Clawback` object, which represents a Clawback operation on
15: Stellar's network.
16:
17: Claws back an amount of an asset from an account.
18:
19: Threshold: Medium
20:
21: See `Clawback <https://developers.stellar.org/docs/start/list-of-operations/#clawback>`_ for more information.
22:
23: :param asset: The asset being clawed back.
24: :param from_: The public key of the account to claw back from.
25: :param amount: The amount of the asset to claw back.
26: :param source: The source account for the operation. Defaults to the
27: transaction's source account.
28: """
29:
--> _XDR_OPERATION_TYPE: stellar_xdr.OperationType = stellar_xdr.OperationType.CLAWBACK
31:
32: def __init__(
33: self,
34: asset: Asset,
35: from_: Union[MuxedAccount, str],
36: amount
ERROR: Unable to parse file: /code/stellar_sdk/operation/path_payment_strict_receive.py
ERROR: Parse error at line 35 column 23:
7: from ..utils import raise_if_not_valid_amount
8: from .operation import Operation
9:
10: __all__ = ["PathPaymentStrictReceive"]
11:
12:
13: class PathPaymentStrictReceive(Operation):
14: """The :class:`PathPaymentStrictReceive` object, which represents a PathPaymentStrictReceive
15: operation on Stellar's network.
16:
17: Sends an amount in a specific asset to a destination account through a path
18: of offers. This allows the asset sent (e.g. 450 XLM) to be different from
19: the asset received (e.g. 6 BTC).
20:
21: Threshold: Medium
22:
23: See `Path Payment Strict Receive <https://developers.stellar.org/docs/start/list-of-operations/#path-payment-strict-receive>`_ for more information.
24:
25: :param destination: The destination account to send to.
26: :param send_asset: The `asset` to pay with.
27: :param send_max: The maximum amount of `send_asset` to send.
28: :param dest_asset: The asset the `destination` will receive.
29: :param dest_amount: The amount the `destination` receives.
30: :param path: A list of Asset objects to use as the path.
31: :param source: The source account for the operation. Defaults to the
32: transaction's source account.
33: """
34:
--> _XDR_OPERATION_TYPE: stellar_xdr.OperationType = (
36: stellar_xdr.OperationType.PATH_PAYMENT_STRICT_RECEIVE
37: )
38:
39: def __init__(
40: self,
41: destination: Union[MuxedAccount, str],
42: send_asset: Asset
ERROR: Unable to parse file: /code/stellar_sdk/operation/extend_footprint_ttl.py
ERROR: Parse error at line 23 column 23:
4: from ..muxed_account import MuxedAccount
5: from .operation import Operation
6:
7: __all__ = ["ExtendFootprintTTL"]
8:
9:
10: class ExtendFootprintTTL(Operation):
11: """The :class:`ExtendFootprintTTL` object, which represents a ExtendFootprintTTL
12: operation on Stellar's network.
13:
14: Threshold: Medium
15:
16: See `ExtendFootprintTTLOp <https://soroban.stellar.org/docs/fundamentals-and-concepts/state-expiration#ExtendFootprintTTLop>`_.
17:
18: :param extend_to: The number of ledgers past the LCL (last closed ledger)
19: by which to extend the validity of the ledger keys in this transaction.
20: :param source: The source account for the operation. Defaults to the transaction's source account.
21: """
22:
--> _XDR_OPERATION_TYPE: stellar_xdr.OperationType = (
24: stellar_xdr.OperationType.EXTEND_FOOTPRINT_TTL
25: )
26:
27: def __init__(
28: self, extend_to: int, source: Optional[Union[MuxedAccount,
ERROR: Unable to parse file: /code/stellar_sdk/operation/set_trust_line_flags.py
ERROR: Parse error at line 50 column 23:
15: ):
16: """Indicates which flags to set. For details about the flags,
17: please refer to the `CAP-0035 <https://github.com/stellar/stellar-protocol/blob/master/core/cap-0035.md>`_.
18:
19: - **AUTHORIZED_FLAG**: issuer has authorized account to perform transactions with its credit
20:
21: - **AUTHORIZED_TO_MAINTAIN_LIABILITIES_FLAG**: issuer has authorized account to maintain and reduce liabilities for its credit
22:
23: - **TRUSTLINE_CLAWBACK_ENABLED_FLAG**: issuer has specified that it may clawback its credit, and that claimable balances created with its credit may also be clawed back
24: """
25:
26: AUTHORIZED_FLAG = 1
27: AUTHORIZED_TO_MAINTAIN_LIABILITIES_FLAG = 2
28: TRUSTLINE_CLAWBACK_ENABLED_FLAG = 4
29:
30:
31: class SetTrustLineFlags(Operation):
32: """The :class:`SetTrustLineFlags` object, which represents a SetTrustLineFlags operation on
33: Stellar's network.
34:
35: Updates the flags of an existing trust line.
36: This is called by the issuer of the related asset.
37:
38: Threshold: Low
39:
40: See `Set Trustline Flags <https://developers.stellar.org/docs/start/list-of-operations/#set-trustline-flags>`_ for more information.
41:
42: :param trustor: The account whose trustline this is.
43: :param asset: The asset on the trustline.
44: :param clear_flags: The flags to clear.
45: :param set_flags: The flags to set.
46: :param source: The source account for the operation. Defaults to the
47: transaction's source account.
48: """
49:
--> _XDR_OPERATION_TYPE: stellar_xdr.OperationType = (
51: stellar_xdr.OperationType.SET_TRUST_LINE_FLAGS
52: )
53:
54: def __init__(
55: self,
56: trustor: str,
57: asset: Asset,
58: clear_flags: TrustLineFlags =
ERROR: Unable to parse file: /code/stellar_sdk/operation/liquidity_pool_deposit.py
ERROR: Parse error at line 33 column 23:
8: .utils import raise_if_not_valid_amount, raise_if_not_valid_hash
9: from .operation import Operation
10:
11: __all__ = ["LiquidityPoolDeposit"]
12:
13:
14: class LiquidityPoolDeposit(Operation):
15: """The :class:`LiquidityPoolDeposit` object, which represents a LiquidityPoolDeposit
16: operation on Stellar's network.
17:
18: Creates a liquidity pool deposit operation.
19:
20: Threshold: Medium
21:
22: See `Liquidity Pool Deposit <https://developers.stellar.org/docs/start/list-of-operations/#liquidity-pool-deposit>`_ for more information.
23:
24: :param liquidity_pool_id: The liquidity pool ID.
25: :param max_amount_a: Maximum amount of first asset to deposit.
26: :param max_amount_b: Maximum amount of second asset to deposit.
27: :param min_price: Minimum deposit_a/deposit_b price.
28: :param max_price: Maximum deposit_a/deposit_b price.
29: :param source: The source account for the operation. Defaults to the
30: transaction's source account.
31: """
32:
--> _XDR_OPERATION_TYPE: stellar_xdr.OperationType = (
34: stellar_xdr.OperationType.LIQUIDITY_POOL_DEPOSIT
35: )
36:
37: def __init__(
38: self,
39: liquidity_pool_id: str,
40: max_amount_a: Union[str, Decimal]
ERROR: Unable to parse file: /code/stellar_sdk/operation/invoke_host_function.py
ERROR: Parse error at line 23 column 23:
4: from ..muxed_account import MuxedAccount
5: from .operation import Operation
6:
7: __all__ = ["InvokeHostFunction"]
8:
9:
10: class InvokeHostFunction(Operation):
11: """The :class:`InvokeHostFunction` object, which represents a InvokeHostFunction
12: operation on Stellar's network.
13:
14: Threshold: Medium
15:
16: See `Interacting with Soroban via Stellar <https://soroban.stellar.org/docs/fundamentals-and-concepts/invoking-contracts-with-transactions>`_.
17:
18: :param host_function: The host function to invoke.
19: :param auth: The authorizations required to execute the host function.
20: :param source: The source account for the operation. Defaults to the transaction's source account.
21: """
22:
--> _XDR_OPERATION_TYPE: stellar_xdr.OperationType = (
24: stellar_xdr.OperationType.INVOKE_HOST_FUNCTION
25: )
26:
27: def __init__(
28: self,
29: host_function: stellar_xdr.HostFunction,
30: auth: Sequence[stellar_xdr.
ERROR: Unable to parse file: /code/stellar_sdk/operation/restore_footprint.py
ERROR: Parse error at line 21 column 23:
4: from ..muxed_account import MuxedAccount
5: from .operation import Operation
6:
7: __all__ = ["RestoreFootprint"]
8:
9:
10: class RestoreFootprint(Operation):
11: """The :class:`RestoreFootprint` object, which represents a RestoreFootprint
12: operation on Stellar's network.
13:
14: Threshold: Medium
15:
16: See `RestoreFootprintOp <https://soroban.stellar.org/docs/fundamentals-and-concepts/state-expiration#restorefootprintop>`_.
17:
18: :param source: The source account for the operation. Defaults to the transaction's source account.
19: """
20:
--> _XDR_OPERATION_TYPE: stellar_xdr.OperationType = (
22: stellar_xdr.OperationType.RESTORE_FOOTPRINT
23: )
24:
25: def __init__(self, source: Optional[Union[MuxedAccount, str]] =
ERROR: Unable to parse file: /code/stellar_sdk/operation/create_passive_sell_offer.py
ERROR: Parse error at line 48 column 23:
8: from ..utils import raise_if_not_valid_amount
9: from .operation import Operation
10:
11: __all__ = ["CreatePassiveSellOffer"]
12:
13:
14: class CreatePassiveSellOffer(Operation):
15: """The :class:`CreatePassiveSellOffer` object, which represents a
16: CreatePassiveSellOffer operation on Stellar's network.
17:
18: A passive sell offer is an offer that does not act on and take a reverse offer
19: of equal price. Instead, they only take offers of lesser price. For
20: example, if an offer exists to buy 5 BTC for 30 XLM, and you make a passive
21: sell offer to buy 30 XLM for 5 BTC, your passive sell offer does not take the first
22: offer.
23:
24: Note that regular offers made later than your passive sell offer can act on and
25: take your passive sell offer, even if the regular offer is of the same price as
26: your passive sell offer.
27:
28: Passive sell offers allow market makers to have zero spread. If you want to
29: trade EUR for USD at 1:1 price and USD for EUR also at 1:1, you can create
30: two passive sell offers so the two offers don't immediately act on each other.
31:
32: Once the passive sell offer is created, you can manage it like any other offer
33: using the manage offer operation - see :class:`ManageBuyOffer` for more
34: details.
35:
36: Threshold: Medium
37:
38: See `Create Passive Sell Offer <https://developers.stellar.org/docs/start/list-of-operations/#create-passive-sell-offer>`_ for more information.
39:
40: :param selling: What you're selling.
41: :param buying: What you're buying.
42: :param amount: The total amount you're selling.
43: :param price: Price of 1 unit of `selling` in terms of `buying`.
44: :param source: The source account for the operation. Defaults to the transaction's source account.
45:
46: """
47:
--> _XDR_OPERATION_TYPE: stellar_xdr.OperationType = (
49: stellar_xdr.OperationType.CREATE_PASSIVE_SELL_OFFER
50: )
51:
52: def __init__(
53: self,
54: selling: Asset,
55: buying: Asset,
56: amount: Union[
ERROR: Unable to parse file: /code/stellar_sdk/operation/set_options.py
ERROR: Parse error at line 81 column 23:
17: """Indicates which flags to set. For details about the flags,
18: please refer to the `Control Access to an Asset - Flag <https://developers.stellar.org/docs/issuing-assets/control-asset-access/#flags>`__.
19: """
20:
21: AUTHORIZATION_REQUIRED = 1
22: AUTHORIZATION_REVOCABLE = 2
23: AUTHORIZATION_IMMUTABLE = 4
24: AUTHORIZATION_CLAWBACK_ENABLED = 8
25:
26:
27: class SetOptions(Operation):
28: """The :class:`SetOptions` object, which represents a SetOptions operation
29: on Stellar's network.
30:
31: This operation sets the options for an account.
32:
33: For more information on the signing options, please refer to the `multi-sig
34: doc <https://developers.stellar.org/docs/glossary/multisig/>`_.
35:
36: When updating signers or other thresholds, the threshold of this operation
37: is high.
38:
39: Threshold: Medium or High
40:
41: See `Set Options <https://developers.stellar.org/docs/start/list-of-operations/#set-options>`_ for more information.
42:
43: :param inflation_dest: Account of the inflation destination.
44: :param clear_flags: Indicates which flags to clear. For details about the flags,
45: please refer to the `Control Access to an Asset - Flag <https://developers.stellar.org/docs/issuing-assets/control-asset-access/#flags>`__.
46: The `bit mask <https://en.wikipedia.org/wiki/Bit_field>`_ integer subtracts from the existing flags of the account.
47: This allows for setting specific bits without knowledge of existing flags, you can also use
48: :class:`stellar_sdk.operation.set_options.AuthorizationFlag`
49:
50: * AUTHORIZATION_REQUIRED = 1
51: * AUTHORIZATION_REVOCABLE = 2
52: * AUTHORIZATION_IMMUTABLE = 4
53: * AUTHORIZATION_CLAWBACK_ENABLED = 8
54:
55: :param set_flags: Indicates which flags to set. For details about the flags,
56: please refer to the `Control Access to an Asset - Flag <https://developers.stellar.org/docs/issuing-assets/control-asset-access/#flags>`__.
57: The bit mask integer adds onto the existing flags of the account.
58: This allows for setting specific bits without knowledge of existing flags, you can also use
59: :class:`stellar_sdk.operation.set_options.AuthorizationFlag`
60:
61: * AUTHORIZATION_REQUIRED = 1
62: * AUTHORIZATION_REVOCABLE = 2
63: * AUTHORIZATION_IMMUTABLE = 4
64: * AUTHORIZATION_CLAWBACK_ENABLED = 8
65:
66: :param master_weight: A number from 0-255 (inclusive) representing the weight of the master key.
67: If the weight of the master key is updated to 0, it is effectively disabled.
68: :param low_threshold: A number from 0-255 (inclusive) representing the threshold this account sets on all
69: operations it performs that have `a low threshold <https://developers.stellar.org/docs/glossary/multisig/>`_.
70: :param med_threshold: A number from 0-255 (inclusive) representing the threshold this account sets on all
71: operations it performs that have `a medium threshold <https://developers.stellar.org/docs/glossary/multisig/>`_.
72: :param high_threshold: A number from 0-255 (inclusive) representing the threshold this account sets on all
73: operations it performs that have `a high threshold <https://developers.stellar.org/docs/glossary/multisig/>`_.
74: :param home_domain: sets the home domain used for
75: reverse `federation <https://developers.stellar.org/docs/glossary/federation/>`_ lookup.
76: :param signer: Add, update, or remove a signer from the account.
77: :param source: The source account for the operation. Defaults to the transaction's source account.
78:
79: """
80:
--> _XDR_OPERATION_TYPE: stellar_xdr.OperationType = (
82: stellar_xdr.OperationType.SET_OPTIONS
83: )
84:
85: def __init__(
86: self,
87: inflation_dest: str = None,
88: clear_flags: Union[int,
ERROR: Unable to parse file: /code/stellar_sdk/operation/change_trust.py
ERROR: Parse error at line 35 column 23:
8: import raise_if_not_valid_amount
9: from .operation import Operation
10:
11: __all__ = ["ChangeTrust"]
12:
13:
14: class ChangeTrust(Operation):
15: """The :class:`ChangeTrust` object, which represents a ChangeTrust
16: operation on Stellar's network.
17:
18: Creates, updates, or deletes a trustline. For more on trustlines, please
19: refer to the `assets documentation
20: <https://developers.stellar.org/docs/glossary/assets/>`_.
21:
22: Threshold: Medium
23:
24: See `Change Trust <https://developers.stellar.org/docs/start/list-of-operations/#change-trust>`_ for more information.
25:
26: :param asset: The asset for the trust line.
27: :param limit: The limit for the asset, defaults to max int64(``922337203685.4775807``).
28: If the limit is set to ``"0"`` it deletes the trustline.
29: :param source: The source account for the operation. Defaults to the transaction's source account.
30:
31: """
32:
33: _DEFAULT_LIMIT = "922337203685.4775807"
34:
--> _XDR_OPERATION_TYPE: stellar_xdr.OperationType = (
36: stellar_xdr.OperationType.CHANGE_TRUST
37: )
38:
39: def __init__(
40: self,
41: asset: Union[Asset, LiquidityPoolAsset],
42: limit: Union
ERROR: Unable to parse file: /code/stellar_sdk/operation/inflation.py
ERROR: Parse error at line 21 column 23:
4: from ..muxed_account import MuxedAccount
5: from .operation import Operation
6:
7: __all__ = ["Inflation"]
8:
9:
10: class Inflation(Operation):
11: """The :class:`Inflation` object, which represents a
12: Inflation operation on Stellar's network.
13:
14: This operation runs inflation.
15:
16: Threshold: Low
17:
18: :param source: The source account for the operation. Defaults to the transaction's source account.
19: """
20:
--> _XDR_OPERATION_TYPE: stellar_xdr.OperationType = stellar_xdr.OperationType.INFLATION
22:
23: def __init__(self, source: Optional[Union[MuxedAccount, str]] = None)
ERROR: Unable to parse file: /code/stellar_sdk/operation/create_account.py
ERROR: Parse error at line 34 column 23:
8: .utils import raise_if_not_valid_amount, raise_if_not_valid_ed25519_public_key
9: from .operation import Operation
10:
11: __all__ = ["CreateAccount"]
12:
13:
14: class CreateAccount(Operation):
15: """The :class:`CreateAccount` object, which represents a Create Account
16: operation on Stellar's network.
17:
18: This operation creates and funds a new account with the specified starting
19: balance.
20:
21: Threshold: Medium
22:
23: See `Create Account <https://developers.stellar.org/docs/start/list-of-operations/#create-account>`_ for more information.
24:
25: :param destination: Destination account ID to create an account for.
26: :param starting_balance: Amount in XLM the account should be
27: funded for. Must be greater than the `reserve balance amount
28: <https://developers.stellar.org/docs/glossary/minimum-balance/>`_.
29: :param source: The source account for the operation. Defaults to the
30: transaction's source account.
31:
32: """
33:
--> _XDR_OPERATION_TYPE: stellar_xdr.OperationType = (
35: stellar_xdr.OperationType.CREATE_ACCOUNT
36: )
37:
38: def __init__(
39: self,
40: destination: str,
41: starting_balance: Union[str, Decimal]
ERROR: Unable to parse file: /code/stellar_sdk/operation/allow_trust.py
ERROR: Parse error at line 56 column 23:
16: ):
17: """Indicates which flags to set. For details about the flags,
18: please refer to the `CAP-0018 <https://github.com/stellar/stellar-protocol/blob/master/core/cap-0018.md>`_.
19:
20: - **UNAUTHORIZED_FLAG**: The account can hold a balance but cannot receive payments, send payments, maintain offers or manage offers
21:
22: - **AUTHORIZED_FLAG**: The account can hold a balance, receive payments, send payments, maintain offers or manage offers
23:
24: - **AUTHORIZED_TO_MAINTAIN_LIABILITIES_FLAG**: The account can hold a balance and maintain offers but cannot receive payments, send payments or manage offers
25: """
26:
27: UNAUTHORIZED_FLAG = 0
28: AUTHORIZED_FLAG = 1
29: AUTHORIZED_TO_MAINTAIN_LIABILITIES_FLAG = 2
30:
31:
32: class AllowTrust(Operation):
33: """The :class:`AllowTrust` object, which represents a AllowTrust operation
34: on Stellar's network.
35:
36: Updates the authorized flag of an existing trustline. This can only be
37: called by the issuer of a trustline's `asset
38: <https://developers.stellar.org/docs/glossary/assets/>`_.
39:
40: The issuer can only clear the authorized flag if the issuer has the
41: ``AUTH_REVOCABLE_FLAG`` set. Otherwise, the issuer can only set the authorized
42: flag.
43:
44: Threshold: Low
45:
46: See `Allow Trust <https://developers.stellar.org/docs/start/list-of-operations/#allow-trust>`_ for more information.
47:
48: :param trustor: The trusting account (the one being authorized).
49: :param asset_code: The asset code being authorized.
50: :param authorize: `True` to authorize the line, `False` to deauthorize,if you need further control,
51: you can also use :class:`stellar_sdk.operation.allow_trust.TrustLineEntryFlag`.
52: :param source: The source account for the operation. Defaults to the transaction's source account.
53:
54: """
55:
--> _XDR_OPERATION_TYPE: stellar_xdr.OperationType = (
57: stellar_xdr.OperationType.ALLOW_TRUST
58: )
59:
60: def __init__(
61: self,
62: trustor: str,
63: asset_code: str,
64: authorize: Union[
ERROR: Unable to parse file: /code/stellar_sdk/operation/clawback_claimable_balance.py
ERROR: Parse error at line 28 column 23:
7: from ..utils import raise_if_not_valid_balance_id
8: from .operation import Operation
9:
10: __all__ = ["ClawbackClaimableBalance"]
11:
12:
13: class ClawbackClaimableBalance(Operation):
14: """The :class:`ClawbackClaimableBalance` object, which represents a ClawbackClaimableBalance operation on
15: Stellar's network.
16:
17: Claws back a claimable balance
18:
19: Threshold: Medium
20:
21: See `Clawback Claimable Balance <https://developers.stellar.org/docs/start/list-of-operations/#clawback-claimable-balance>`_ for more information.
22:
23: :param balance_id: The claimable balance ID to be clawed back.
24: :param source: The source account for the operation. Defaults to the
25: transaction's source account.
26: """
27:
--> _XDR_OPERATION_TYPE: stellar_xdr.OperationType = (
29: stellar_xdr.OperationType.CLAWBACK_CLAIMABLE_BALANCE
30: )
31:
32: def __init__(
33: self, balance_id: str, source: Optional[Union[MuxedAccount,
ERROR: Unable to parse file: /code/stellar_sdk/operation/manage_sell_offer.py
ERROR: Parse error at line 41 column 23:
8: from ..utils import raise_if_not_valid_amount
9: from .operation import Operation
10:
11: __all__ = ["ManageSellOffer"]
12:
13:
14: class ManageSellOffer(Operation):
15: """The :class:`ManageSellOffer` object, which represents a ManageSellOffer
16: operation on Stellar's network.
17:
18: Creates, updates, or deletes an sell offer.
19:
20: If you want to create a new offer set `offer_id` to ``0``.
21:
22: If you want to update an existing offer set `offer_id` to existing offer ID.
23:
24: If you want to delete an existing offer set `offer_id` to existing offer ID
25: and set `amount` to ``0``.
26:
27: Threshold: Medium
28:
29: See `Manage Sell Offer <https://developers.stellar.org/docs/start/list-of-operations/#manage-sell-offer>`_ for more information.
30:
31: :param selling: What you're selling.
32: :param buying: What you're buying.
33: :param amount: The total amount you're selling. If ``0``, deletes the offer.
34: :param price: Price of 1 unit of `selling` in terms of `buying`.
35: :param offer_id: If ``0``, will create a new offer (default). Otherwise,
36: edits an existing offer.
37: :param source: The source account for the operation. Defaults to the transaction's source account.
38:
39: """
40:
--> _XDR_OPERATION_TYPE: stellar_xdr.OperationType = (
42: stellar_xdr.OperationType.MANAGE_SELL_OFFER
43: )
44:
45: def __init__(
46: self,
47: selling: Asset,
48: buying: Asset,
49: amount: Union[
ERROR: Unable to parse file: /code/stellar_sdk/operation/account_merge.py
ERROR: Parse error at line 26 column 23:
4: from ..muxed_account import MuxedAccount
5: from .operation import Operation
6:
7: __all__ = ["AccountMerge"]
8:
9:
10: class AccountMerge(Operation):
11: """The :class:`AccountMerge` object, which represents a
12: AccountMerge operation on Stellar's network.
13:
14: Transfers the native balance (the amount of XLM an account holds) to
15: another account and removes the source account from the ledger.
16:
17: Threshold: High
18:
19: See `Account Merge <https://developers.stellar.org/docs/start/list-of-operations/#account-merge>`_ for more information.
20:
21: :param destination: Destination to merge the source account into.
22: :param source: The source account for the operation. Defaults to the transaction's source account.
23:
24: """
25:
--> _XDR_OPERATION_TYPE: stellar_xdr.OperationType = (
27: stellar_xdr.OperationType.ACCOUNT_MERGE
28: )
29:
30: def __init__(
31: self,
32: destination: Union[MuxedAccount, str],
33: source: Optional
ERROR: Unable to parse file: /code/stellar_sdk/operation/manage_buy_offer.py
ERROR: Parse error at line 41 column 23:
8: from ..utils import raise_if_not_valid_amount
9: from .operation import Operation
10:
11: __all__ = ["ManageBuyOffer"]
12:
13:
14: class ManageBuyOffer(Operation):
15: """The :class:`ManageBuyOffer` object, which represents a ManageBuyOffer
16: operation on Stellar's network.
17:
18: Creates, updates, or deletes an buy offer.
19:
20: If you want to create a new offer set `offer_id` to ``0``.
21:
22: If you want to update an existing offer set `offer_id` to existing offer ID.
23:
24: If you want to delete an existing offer set `offer_id` to existing offer ID
25: and set `amount` to ``0``.
26:
27: Threshold: Medium
28:
29: See `Manage Buy Offer <https://developers.stellar.org/docs/start/list-of-operations/#manage-buy-offer>`_ for more information.
30:
31: :param selling: What you're selling.
32: :param buying: What you're buying.
33: :param amount: Amount being bought. if set to ``0``, delete the offer.
34: :param price: Price of thing being bought in terms of what you are selling.
35: :param offer_id: If ``0``, will create a new offer (default). Otherwise,
36: edits an existing offer.
37: :param source: The source account for the operation. Defaults to the transaction's source account.
38:
39: """
40:
--> _XDR_OPERATION_TYPE: stellar_xdr.OperationType = (
42: stellar_xdr.OperationType.MANAGE_BUY_OFFER
43: )
44:
45: def __init__(
46: self,
47: selling: Asset,
48: buying: Asset,
49: amount: Union[
ERROR: Unable to parse file: /code/stellar_sdk/operation/claim_claimable_balance.py
ERROR: Parse error at line 27 column 23:
7: from ..utils import raise_if_not_valid_balance_id
8: from .operation import Operation
9:
10: __all__ = ["ClaimClaimableBalance"]
11:
12:
13: class ClaimClaimableBalance(Operation):
14: """The :class:`ClaimClaimableBalance` object, which represents a ClaimClaimableBalance
15: operation on Stellar's network.
16:
17: Claims a ClaimableBalanceEntry and adds the amount of asset on the entry to the source account.
18:
19: Threshold: Low
20:
21: See `Claim Claimable Balance <https://developers.stellar.org/docs/start/list-of-operations/#claim-claimable-balance>`_ for more information.
22:
23: :param balance_id: The claimable balance id to be claimed.
24: :param source: The source account for the operation. Defaults to the transaction's source account.
25: """
26:
--> _XDR_OPERATION_TYPE: stellar_xdr.OperationType = (
28: stellar_xdr.OperationType.CLAIM_CLAIMABLE_BALANCE
29: )
30:
31: def __init__(
32: self,
33: balance_id: str,
34: source: Optional[Union[MuxedAccount,
ERROR: Unable to parse file: /code/stellar_sdk/operation/end_sponsoring_future_reserves.py
ERROR: Parse error at line 24 column 23:
4: from ..muxed_account import MuxedAccount
5: from .operation import Operation
6:
7: __all__ = ["EndSponsoringFutureReserves"]
8:
9:
10: class EndSponsoringFutureReserves(Operation):
11: """The :class:`EndSponsoringFutureReserves` object, which represents a EndSponsoringFutureReserves
12: operation on Stellar's network.
13:
14: Terminates the current is-sponsoring-future-reserves-for relationship in which the source account is sponsored.
15: See `Sponsored Reserves <https://developers.stellar.org/docs/glossary/sponsored-reserves/>`_ for more information.
16:
17: Threshold: Medium
18:
19: See `End Sponsoring Future Reserves <https://developers.stellar.org/docs/start/list-of-operations/#end-sponsoring-future-reserves>`_.
20:
21: :param source: The source account for the operation. Defaults to the transaction's source account.
22: """
23:
--> _XDR_OPERATION_TYPE: stellar_xdr.OperationType = (
25: stellar_xdr.OperationType.END_SPONSORING_FUTURE_RESERVES
26: )
27:
28: def __init__(self, source: Optional[Union[MuxedAccount, str]] =
ERROR: Unable to parse file: /code/stellar_sdk/operation/begin_sponsoring_future_reserves.py
ERROR: Parse error at line 28 column 23:
7: from ..utils import raise_if_not_valid_ed25519_public_key
8: from .operation import Operation
9:
10: __all__ = ["BeginSponsoringFutureReserves"]
11:
12:
13: class BeginSponsoringFutureReserves(Operation):
14: """The :class:`BeginSponsoringFutureReserves` object, which represents a BeginSponsoringFutureReserves
15: operation on Stellar's network.
16:
17: Establishes the is-sponsoring-future-reserves-for relationship between the source account and sponsoredID.
18: See `Sponsored Reserves <https://developers.stellar.org/docs/glossary/sponsored-reserves/>`_ for more information.
19:
20: Threshold: Medium
21:
22: See `Begin Sponsoring Future Reserves <https://developers.stellar.org/docs/start/list-of-operations/#begin-sponsoring-future-reserves>`_ for more information.
23:
24: :param sponsored_id: The sponsored account id.
25: :param source: The source account for the operation. Defaults to the transaction's source account.
26: """
27:
--> _XDR_OPERATION_TYPE: stellar_xdr.OperationType = (
29: stellar_xdr.OperationType.BEGIN_SPONSORING_FUTURE_RESERVES
30: )
31:
32: def __init__(
33: self, sponsored_id: str, source: Optional[Union[MuxedAccount,
ERROR: Unable to parse file: /code/stellar_sdk/operation/liquidity_pool_withdraw.py
ERROR: Parse error at line 31 column 23:
7: .utils import raise_if_not_valid_amount, raise_if_not_valid_hash
8: from .operation import Operation
9:
10: __all__ = ["LiquidityPoolWithdraw"]
11:
12:
13: class LiquidityPoolWithdraw(Operation):
14: """The :class:`LiquidityPoolWithdraw` object, which represents a LiquidityPoolWithdraw
15: operation on Stellar's network.
16:
17: Creates a liquidity pool withdraw operation.
18:
19: Threshold: Medium
20:
21: See `Liquidity Pool Withdraw <https://developers.stellar.org/docs/start/list-of-operations/#liquidity-pool-withdraw>`_ for more information.
22:
23: :param liquidity_pool_id: The liquidity pool ID.
24: :param amount: Amount of pool shares to withdraw.
25: :param min_amount_a: Minimum amount of first asset to withdraw.
26: :param min_amount_b: Minimum amount of second asset to withdraw.
27: :param source: The source account for the operation. Defaults to the
28: transaction's source account.
29: """
30:
--> _XDR_OPERATION_TYPE: stellar_xdr.OperationType = (
32: stellar_xdr.OperationType.LIQUIDITY_POOL_WITHDRAW
33: )
34:
35: def __init__(
36: self,
37: liquidity_pool_id: str,
38: amount: Union[str, Decimal]
ERROR: Unable to parse file: /code/stellar_sdk/operation/revoke_sponsorship.py
ERROR: Parse error at line 135 column 23:
102: other.signer_key
103: )
104:
105: def __str__(self):
106: return f"<Signer [account_id={self.account_id}, signer_key={self.signer_key}]>"
107:
108:
109: class RevokeSponsorship(Operation):
110: """The :class:`RevokeSponsorship` object, which represents a RevokeSponsorship
111: operation on Stellar's network.
112:
113: The logic of this operation depends on the state of the source account.
114:
115: If the source account is not sponsored or is sponsored by the owner of the specified entry or sub-entry,
116: then attempt to revoke the sponsorship. If the source account is sponsored, the next step depends on whether the
117: entry is sponsored or not. If it is sponsored, attempt to transfer the sponsorship to the sponsor
118: of the source account. If the entry is not sponsored, then establish the sponsorship.
119: See `Sponsored Reserves <https://developers.stellar.org/docs/glossary/sponsored-reserves/>`_ for more information.
120:
121: Threshold: Medium
122:
123: See `Revoke Sponsorship <https://developers.stellar.org/docs/start/list-of-operations/#revoke-sponsorship>`_ for more information.
124:
125: :param revoke_sponsorship_type: The sponsored account id.
126: :param account_id: The sponsored account ID.
127: :param trustline: The sponsored trustline.
128: :param offer: The sponsored offer.
129: :param data: The sponsored data.
130: :param claimable_balance_id: The sponsored claimable balance.
131: :param signer: The sponsored signer.
132: :param source: The source account for the operation. Defaults to the transaction's source account.
133: """
134:
--> _XDR_OPERATION_TYPE: stellar_xdr.OperationType = (
136: stellar_xdr.OperationType.REVOKE_SPONSORSHIP
137: )
138:
139:
140: def __init__(
141: self,
142: revoke_sponsorship_type: RevokeSponsorshipType,
143: account_id: Optional[str],
144: trustline
ERROR: Unable to parse file: /code/stellar_sdk/operation/path_payment_strict_send.py
ERROR: Parse error at line 35 column 23:
7: from ..utils import raise_if_not_valid_amount
8: from .operation import Operation
9:
10: __all__ = ["PathPaymentStrictSend"]
11:
12:
13: class PathPaymentStrictSend(Operation):
14: """The :class:`PathPaymentStrictSend` object, which represents a PathPaymentStrictSend
15: operation on Stellar's network.
16:
17: Sends an amount in a specific asset to a destination account through a path
18: of offers. This allows the asset sent (e.g, 450 XLM) to be different from
19: the asset received (e.g, 6 BTC).
20:
21: Threshold: Medium
22:
23: See `Path Payment Strict Send <https://developers.stellar.org/docs/start/list-of-operations/#path-payment-strict-send>`_ for more information.
24:
25: :param destination: The destination account to send to.
26: :param send_asset: The `asset` to pay with.
27: :param send_amount: Amount of `send_asset` to send.
28: :param dest_asset: The asset the `destination` will receive.
29: :param dest_min: The minimum amount of `dest_asset` to be received.
30: :param path: A list of Asset objects to use as the path.
31: :param source: The source account for the operation. Defaults to the
32: transaction's source account.
33: """
34:
--> _XDR_OPERATION_TYPE: stellar_xdr.OperationType = (
36: stellar_xdr.OperationType.PATH_PAYMENT_STRICT_SEND
37: )
38:
39: def __init__(
40: self,
41: destination: Union[MuxedAccount, str],
42: send_asset: Asset
ERROR: Unable to parse file: /code/stellar_sdk/operation/manage_data.py
ERROR: Parse error at line 35 column 23:
4: from ..muxed_account import MuxedAccount
5: from .operation import Operation
6:
7: __all__ = ["ManageData"]
8:
9:
10: class ManageData(Operation):
11: """The :class:`ManageData` object, which represents a
12: ManageData operation on Stellar's network.
13:
14: Allows you to set, modify or delete a Data Entry (name/value pair) that is
15: attached to a particular account. An account can have an arbitrary amount
16: of DataEntries attached to it. Each DataEntry increases the minimum balance
17: needed to be held by the account.
18:
19: DataEntries can be used for application specific things. They are not used
20: by the core Stellar protocol.
21:
22: Threshold: Medium
23:
24: See `Manage Data <https://developers.stellar.org/docs/start/list-of-operations/#manage-data>`_ for more information.
25:
26: :param data_name: If this is a new Name
27: it will add the given name/value pair to the account. If this Name
28: is already present then the associated value will be modified. Up to 64 bytes long.
29: :param data_value: If not present then the existing `data_name` will be deleted.
30: If present then this value will be set in the DataEntry. Up to 64 bytes long.
31: :param source: The optional source account.
32:
33: """
34:
--> _XDR_OPERATION_TYPE: stellar_xdr.OperationType = (
36: stellar_xdr.OperationType.MANAGE_DATA
37: )
38:
39: def __init__(
40: self,
41: data_name: str,
42: data_value: Union[str, bytes,
ERROR: Unable to parse file: /code/stellar_sdk/operation/operation.py
ERROR: Parse error at line 42 column 19:
39: ) -> None:
40: if isinstance(source, str):
41: source = MuxedAccount.from_account(source)
--> self.source: Optional[MuxedAccount] = source
43:
44: @property
45: @abstractmethod
46: def _XDR_OPERATION_TYPE(self) -> stellar_xdr.OperationType:
47: pass
48:
ERROR: Unable to parse file: /code/stellar_sdk/operation/bump_sequence.py
ERROR: Parse error at line 28 column 23:
4: from ..muxed_account import MuxedAccount
5: from .operation import Operation
6:
7: __all__ = ["BumpSequence"]
8:
9:
10: class BumpSequence(Operation):
11: """The :class:`BumpSequence` object, which represents a
12: BumpSequence operation on Stellar's network.
13:
14: Bump sequence allows to bump forward the sequence number of the source account of the
15: operation, allowing to invalidate any transactions with a smaller sequence number.
16: If the specified bumpTo sequence number is greater than the source account’s sequence number,
17: the account’s sequence number is updated with that value, otherwise it’s not modified.
18:
19: Threshold: Low
20:
21: See `Bump Sequence <https://developers.stellar.org/docs/start/list-of-operations/#bump-sequence>`_ for more information.
22:
23: :param bump_to: Sequence number to bump to.
24: :param source: The optional source account.
25:
26: """
27:
--> _XDR_OPERATION_TYPE: stellar_xdr.OperationType = (
29: stellar_xdr.OperationType.BUMP_SEQUENCE
30: )
31:
32: def __init__(
33: self, bump_to: int, source: Optional[Union[MuxedAccount,
ERROR: Unable to parse file: /code/stellar_sdk/price.py
ERROR: Parse error at line 25 column 14:
7:
8:
9:
10: class Price:
11: """Create a new price. Price in Stellar is represented as a fraction.
12:
13: An example::
14:
15: from stellar_sdk import Price
16:
17: price_a = Price(1, 2)
18: price_b = Price.from_raw_price("0.5")
19:
20: :param n: numerator
21: :param d: denominator
22: """
23:
24: def __init__(self, n: int, d: int) -> None:
--> self.n: int = n
26: self.d: int = d
27:
28: @classmethod
29: def from_raw_price(cls, price: Union[str, Decimal]
ERROR: Unable to parse file: /code/stellar_sdk/client/response.py
ERROR: Parse error at line 17 column 24:
16: def __init__(self, status_code: int, text: str, headers: dict, url: str) -> None:
--> self.status_code: int = status_code
18: self.text: str = text
19: self.headers: dict = headers
20: self.url: str = url
21:
22:
ERROR: Unable to parse file: /code/stellar_sdk/client/requests_client.py
ERROR: Parse error at line 57 column 22:
53: = None,
54: stream_session: Session = None,
55: custom_headers: Optional[Dict[str, str]] = None,
56: ):
--> self.pool_size: int = pool_size
58: self.num_retries: int = num_retries
59: self.request_timeout: int = request_timeout
60: self.post_timeout: float = post_timeout
61: self
ERROR: Unable to parse file: /code/stellar_sdk/client/aiohttp_client.py
ERROR: Parse error at line 88 column 16:
85: float] = DEFAULT_BACKOFF_FACTOR,
86: user_agent: Optional[str] = None,
87: custom_headers: Optional[Dict[str, str]] = None,
--> **kwargs,
89: ) -> None:
90: if not _AIOHTTP_DEPS_INSTALLED:
91: raise ImportError(
92: "The required dependencies have not been installed. "
93: "Please install `stellar-sdk[aiohttp]` to use this feature."
94: )
95: self.pool_size = pool_size
96: self.
ERROR: Unable to parse file: /code/stellar_sdk/base_server.py
ERROR: Parse error at line 294 column 27:
284: enumerate(transaction.operations):
285: if isinstance(
286: operation,
287: (
288: Payment,
289: AccountMerge,
290: PathPaymentStrictSend,
291: PathPaymentStrictReceive,
292: ),
293: ):
--> destination: str = operation.destination.account_id
295: else:
296: continue
297: if destination in destinations:
298: continue
299: destinations.add
ERROR: Unable to parse file: /code/stellar_sdk/call_builder/base/base_trades_call_builder.py
ERROR: Parse error at line 19 column 21:
10: """Creates a new :class:`TradesCallBuilder` pointed to server defined by horizon_url.
11:
12: See `List All Trades <https://developers.stellar.org/api/resources/trades/list/>`__ for more information.
13:
14: :param horizon_url: Horizon server URL.
15: """
16:
17: def __init__(self, horizon_url: str) -> None:
18: super().__init__(horizon_url)
--> self.endpoint: str = "trades"
20:
21: def for_asset_pair(self, base: Asset, counter: Asset):
22: """Filter trades for a specific asset pair (orderbook)
23:
24: See `List All Trades <https://developers.stellar.org/api/resources/trades/list/>`__ for more information.
25:
26: :param base: base asset
27: :param counter: counter asset
28: :return: current TradesCallBuilder instance
29: """
30: params = {
31: "base_asset_type": base
ERROR: Unable to parse file: /code/stellar_sdk/call_builder/base/base_payments_call_builder.py
ERROR: Parse error at line 18 column 21:
9: """Creates a new :class:`PaymentsCallBuilder` pointed to server defined by horizon_url.
10:
11: See `List All Payments <https://developers.stellar.org/api/resources/operations/list-payments/>`__ for more information.
12:
13: :param horizon_url: Horizon server URL.
14: """
15:
16: def __init__(self, horizon_url: str) -> None:
17: super().__init__(horizon_url)
--> self.endpoint: str = "payments"
19:
20: def for_account(self, account_id: str):
21: """This endpoint responds with a collection of Payment operations where the given account
22: was either the sender or receiver.
23:
24: See `Retrieve an Account's Payments <https://developers.stellar.org/api/resources/accounts/payments/>`__ for more information.
25:
26: :param account_id: Account ID
27: :return: current PaymentsCallBuilder instance
28: """
29: self.endpoint = f"accounts/{account_id}/payments"
30: return self
31:
32:
ERROR: Unable to parse file: /code/stellar_sdk/call_builder/base/base_strict_receive_paths_call_builder.py
ERROR: Parse error at line 47 column 21:
43: : Union[str, Decimal],
44: **kwargs
45: ) -> None:
46: super().__init__(**kwargs)
--> self.endpoint: str = "paths/strict-receive"
48:
49: if isinstance(destination_amount, Decimal):
50: destination_amount = str(destination_amount)
51:
52: params = {
53: "destination_amount": destination_amount,
ERROR: Unable to parse file: /code/stellar_sdk/call_builder/base/base_data_call_builder.py
ERROR: Parse error at line 18 column 21:
16: account_id: str, data_name: str, **kwargs) -> None:
17: super().__init__(**kwargs)
--> self.endpoint: str = f"/accounts/{account_id}/data/{data_name}"
19: EOF
ERROR: Unable to parse file: /code/stellar_sdk/call_builder/base/base_transactions_call_builder.py
ERROR: Parse error at line 18 column 21:
9: """Creates a new :class:`TransactionsCallBuilder` pointed to server defined by horizon_url.
10:
11: See `List All Transactions <https://developers.stellar.org/api/resources/transactions/list/>`__ for more information.
12:
13: :param horizon_url: Horizon server URL.
14: """
15:
16: def __init__(self, horizon_url: str) -> None:
17: super().__init__(horizon_url)
--> self.endpoint: str = "transactions"
19:
20: def transaction(self, transaction_hash: str):
21: """The transaction details endpoint provides information on a single transaction.
22: The transaction hash provided in the hash argument specifies which transaction to load.
23:
24: See `Retrieve a Transaction <https://developers.stellar.org/api/resources/transactions/single/>`__ for more information.
25:
26:
27: :param transaction_hash: transaction hash
28: :return: current TransactionsCallBuilder instance
29: """
30: self.endpoint = f"transactions/{transaction_hash}"
31: return self
32:
33:
ERROR: Unable to parse file: /code/stellar_sdk/call_builder/base/base_ledgers_call_builder.py
ERROR: Parse error at line 18 column 21:
9: """Creates a new :class:`LedgersCallBuilder` pointed to server defined by horizon_url.
10:
11: See `List All Ledgers <https://developers.stellar.org/api/resources/ledgers/list/>`__ for more information.
12:
13: :param horizon_url: Horizon server URL.
14: """
15:
16: def __init__(self, horizon_url: str) -> None:
17: super().__init__(horizon_url)
--> self.endpoint: str = "ledgers"
19:
20: def ledger(self, sequence: Union[int, str]):
21: """Provides information on a single ledger.
22:
23: See `Retrieve a Ledger <https://developers.stellar.org/api/resources/ledgers/single/>`__ for more information.
24:
25: :param sequence: Ledger sequence
26: :return: current LedgerCallBuilder instance
27: """
28: self.endpoint = f"ledgers/{sequence}"
ERROR: Unable to parse file: /code/stellar_sdk/call_builder/base/base_operations_call_builder.py
ERROR: Parse error at line 18 column 21:
8: :
9: """Creates a new :class:`OperationsCallBuilder` pointed to server defined by horizon_url.
10:
11: See `List All Operations <https://developers.stellar.org/api/resources/operations/list/>`__ for more information.
12:
13: :param horizon_url: Horizon server URL.
14: """
15:
16: def __init__(self, horizon_url) -> None:
17: super().__init__(horizon_url)
--> self.endpoint: str = "operations"
19:
20: def operation(self, operation_id: Union[int, str]):
21: """The operation details endpoint provides information on a single operation. The operation ID provided
22: in the id argument specifies which operation to load.
23:
24: See `Retrieve an Operation <https://developers.stellar.org/api/resources/operations/single/>`__ for more information.
25:
26: :param operation_id: Operation ID
27: :return: this OperationCallBuilder instance
28: """
29: self.endpoint = f"operations/{operation_id}"
ERROR: Unable to parse file: /code/stellar_sdk/call_builder/base/base_assets_call_builder.py
ERROR: Parse error at line 16 column 21:
7: """Creates a new :class:`AssetsCallBuilder` pointed to server defined by horizon_url.
8:
9: See `List All Assets <https://developers.stellar.org/api/resources/assets/list/>`__ for more information.
10:
11: :param horizon_url: Horizon server URL.
12: """
13:
14: def __init__(self, horizon_url: str) -> None:
15: super().__init__(horizon_url)
--> self.endpoint: str = "assets"
17:
18: def for_code(self, asset_code: str):
19: """This endpoint filters all assets by the asset code.
20:
21: See `List All Assets <https://developers.stellar.org/api/resources/assets/list/>`__ for more information.
22:
23: :param asset_code: asset code, for example: `USD`
24: :return: current AssetCallBuilder instance
25: """
26: self._add_query_param("asset_code", asset_code)
27: return
ERROR: Unable to parse file: /code/stellar_sdk/call_builder/base/base_trades_aggregation_call_builder.py
ERROR: Parse error at line 35 column 16:
29: Asset,
30: counter: Asset,
31: resolution: int,
32: start_time: int = None,
33: end_time: int = None,
34: offset: int = None,
--> **kwargs,
36: ) -> None:
37: super().__init__(**kwargs)
38: self.endpoint: str = "trade_aggregations"
39:
40: if not self.
ERROR: Unable to parse file: /code/stellar_sdk/call_builder/base/base_strict_send_paths_call_builder.py
ERROR: Parse error at line 47 column 21:
43: str, List[Asset]],
44: **kwargs
45: ) -> None:
46: super().__init__(**kwargs)
--> self.endpoint: str = "paths/strict-send"
48:
49: if isinstance(source_amount, Decimal):
50: source_amount = str(source_amount)
51:
52: params = {
53: "source_amount": source_amount,
ERROR: Unable to parse file: /code/stellar_sdk/call_builder/base/base_call_builder.py
ERROR: Parse error at line 22 column 24:
12: = ["BaseCallBuilder"]
13:
14:
15: class BaseCallBuilder:
16: """Creates a new :class:`BaseCallBuilder` pointed to server defined by horizon_url.
17:
18: :param horizon_url: Horizon server URL.
19: """
20:
21: def __init__(self, horizon_url: str) -> None:
--> self.horizon_url: str = horizon_url
23: self.params: Dict[str, str] = {}
24: self.endpoint: str = ""
25: self.prev_href
ERROR: Unable to parse file: /code/stellar_sdk/call_builder/base/base_claimable_balances_call_builder.py
ERROR: Parse error at line 18 column 21:
8: :
9: """Creates a new :class:`ClaimableBalancesCallBuilder` pointed to server defined by horizon_url.
10:
11: See `List Claimable Balances <https://developers.stellar.org/api/resources/claimablebalances/list/>`__ for more information.
12:
13: :param horizon_url: Horizon server URL.
14: """
15:
16: def __init__(self, horizon_url) -> None:
17: super().__init__(horizon_url)
--> self.endpoint: str = "claimable_balances"
19:
20: def claimable_balance(self, claimable_balance_id: str):
21: """Returns information and links relating to a single claimable balance.
22:
23: See `List Claimable Balances <https://developers.stellar.org/api/resources/claimablebalances/list/>`__ for more information.
24:
25: :param claimable_balance_id: claimable balance id
26: :return: current AccountCallBuilder instance
27: """
28: self.endpoint = f"claimable_balances/{claimable_balance_id}"
29: return self
30:
31:
ERROR: Unable to parse file: /code/stellar_sdk/call_builder/base/base_liquidity_pools_builder.py
ERROR: Parse error at line 20 column 21:
11: """Creates a new :class:`LiquidityPoolsBuilder` pointed to server defined by horizon_url.
12:
13: See `List Liquidity Pools <https://developers.stellar.org/api/resources/liquiditypools/list/>`__ for more information.
14:
15: :param horizon_url: Horizon server URL.
16: """
17:
18: def __init__(self, horizon_url: str) -> None:
19: super().__init__(horizon_url)
--> self.endpoint: str = "liquidity_pools"
21:
22: def liquidity_pool(self, liquidity_pool_id: str):
23: """Provides information on a liquidity pool.
24:
25: See `Retrieve a Liquidity Pool <https://developers.stellar.org/api/resources/liquiditypools/single/>`__ for more information.
26:
27: :param liquidity_pool_id: The ID of the liquidity pool in hex string.
28: :return: current LiquidityPoolsBuilder instance
29: """
30: self.endpoint = f"liquidity_pools/{liquidity_pool_id}"
31: return self
32:
33:
ERROR: Unable to parse file: /code/stellar_sdk/call_builder/base/base_orderbook_call_builder.py
ERROR: Parse error at line 19 column 21:
17: selling: Asset, buying: Asset, **kwargs) -> None:
18: super().__init__(**kwargs)
--> self.endpoint: str = "order_book"
20: params = {
21: "selling_asset_type": selling.type,
22: "selling_asset_code": None if selling.is_native() else selling.code,
23: "selling_asset_issuer":
ERROR: Unable to parse file: /code/stellar_sdk/call_builder/base/base_fee_stats_call_builder.py
ERROR: Parse error at line 16 column 21:
7: """Creates a new :class:`FeeStatsCallBuilder` pointed to server defined by horizon_url.
8:
9: See `Fee Stats <https://developers.stellar.org/api/aggregations/fee-stats/>`__ for more information.
10:
11: :param horizon_url: Horizon server URL.
12: """
13:
14: def __init__(self, horizon_url: str) -> None:
15: super().__init__(horizon_url)
--> self.endpoint: str = "fee_stats"
17: EOF
ERROR: Unable to parse file: /code/stellar_sdk/call_builder/base/base_offers_call_builder.py
ERROR: Parse error at line 19 column 21:
10: """Creates a new :class:`OffersCallBuilder` pointed to server defined by horizon_url.
11:
12: See `List All Offers <https://developers.stellar.org/api/resources/offers/list/>`__ for more information.
13:
14: :param horizon_url: Horizon server URL.
15: """
16:
17: def __init__(self, horizon_url: str) -> None:
18: super().__init__(horizon_url)
--> self.endpoint: str = "offers"
20:
21: def for_account(self, account_id: str):
22: """This endpoint represents all offers a given account has currently open and can be used in streaming mode.
23:
24: See `Retrieve an Account's Offers <https://developers.stellar.org/api/resources/accounts/offers/>`__ for more information.
25:
26: :param account_id: Account ID
27: :return: current PaymentsCallBuilder instance
28: """
29: self.endpoint = f"accounts/{account_id}/offers"
30: return self
31:
32:
ERROR: Unable to parse file: /code/stellar_sdk/call_builder/base/base_effects_call_builder.py
ERROR: Parse error at line 18 column 21:
9: """Creates a new :class:`EffectsCallBuilder` pointed to server defined by horizon_url.
10:
11: See `List All Effects <https://developers.stellar.org/api/resources/effects/list/>`__ for more information.
12:
13: :param horizon_url: Horizon server URL.
14: """
15:
16: def __init__(self, horizon_url: str) -> None:
17: super().__init__(horizon_url)
--> self.endpoint: str = "effects"
19:
20: def for_account(self, account_id: str):
21: """This endpoint represents all effects that changed a given account. It will return relevant
22: effects from the creation of the account to the current ledger.
23:
24: See `Retrieve an Account's Effects <https://developers.stellar.org/api/resources/accounts/effects/>`__ for more information.
25:
26: :param account_id: account id, for example: ``"GDGQVOKHW4VEJRU2TETD6DBRKEO5ERCNF353LW5WBFW3JJWQ2BRQ6KDD"``
27: :return: this EffectCallBuilder instance
28: """
29: self.endpoint = f"accounts/{account_id}/effects"
30: return self
31:
32:
ERROR: Unable to parse file: /code/stellar_sdk/call_builder/base/base_accounts_call_builder.py
ERROR: Parse error at line 18 column 21:
8: :
9: """Creates a new :class:`AccountsCallBuilder` pointed to server defined by horizon_url.
10:
11: See `List All Accounts <https://developers.stellar.org/api/resources/accounts/list/>`__ for more information.
12:
13: :param horizon_url: Horizon server URL.
14: """
15:
16: def __init__(self, horizon_url) -> None:
17: super().__init__(horizon_url)
--> self.endpoint: str = "accounts"
19:
20: def account_id(self, account_id: str):
21: """Returns information and links relating to a single account.
22: The balances section in the returned JSON will also list all the trust lines this account has set up.
23:
24: See `Retrieve an Account <https://developers.stellar.org/api/resources/accounts/single/>`__ for more information.
25:
26: :param account_id: account id, for example: ``"GDGQVOKHW4VEJRU2TETD6DBRKEO5ERCNF353LW5WBFW3JJWQ2BRQ6KDD"``
27: :return: current AccountCallBuilder instance
28: """
29: self.endpoint = f"accounts/{account_id}"
30: return self
31:
32:
ERROR: Unable to parse file: /code/stellar_sdk/call_builder/call_builder_sync/base_call_builder.py
ERROR: Parse error at line 23 column 19:
21: __init__(self, client: BaseSyncClient, **kwargs) -> None:
22: super().__init__(**kwargs)
--> self.client: BaseSyncClient = client
24:
25: def call(self) -> Dict[str, Any]:
26: """Triggers a HTTP request using this builder's current configuration.
27:
28: :return: If it is called synchronous, the response will be returned. If
29: it is called asynchronously, it will return Coroutine.
30: :raises:
31: | :exc:`ConnectionError <stellar_sdk.exceptions.ConnectionError>`: if you have not successfully
32: connected to the server.
33: | :exc:`NotFoundError <stellar_sdk.exceptions.NotFoundError>`: if status_code == 404
34: | :exc:`BadRequestError <stellar_sdk.exceptions.BadRequestError>`: if 400 <= status_code < 500
35: and status_code != 404
36: | :exc:`BadResponseError <stellar_sdk.exceptions.BadResponseError>`: if 500 <= status_code < 600
37: | :exc:`UnknownRequestError <stellar_sdk.exceptions.UnknownRequestError>`: if an unknown error occurs,
38: please submit an issue
39: """
40: url = urljoin_with_query(self.
ERROR: Unable to parse file: /code/stellar_sdk/call_builder/call_builder_async/base_call_builder.py
ERROR: Parse error at line 23 column 19:
21: __init__(self, client: BaseAsyncClient, **kwargs) -> None:
22: super().__init__(**kwargs)
--> self.client: BaseAsyncClient = client
24:
25: async def call(self) -> Dict[str, Any]:
26: """Triggers a HTTP request using this builder's current configuration.
27:
28: :return: If it is called synchronous, the response will be returned. If
29: it is called asynchronously, it will return Coroutine.
30: :raises:
31: | :exc:`ConnectionError <stellar_sdk.exceptions.ConnectionError>`: if you have not successfully
32: connected to the server.
33: | :exc:`NotFoundError <stellar_sdk.exceptions.NotFoundError>`: if status_code == 404
34: | :exc:`BadRequestError <stellar_sdk.exceptions.BadRequestError>`: if 400 <= status_code < 500
35: and status_code != 404
36: | :exc:`BadResponseError <stellar_sdk.exceptions.BadResponseError>`: if 500 <= status_code < 600
37: | :exc:`UnknownRequestError <stellar_sdk.exceptions.UnknownRequestError>`: if an unknown error occurs,
38: please submit an issue
39: """
40: url = urljoin_with_query(self
ERROR: Unable to parse file: /code/stellar_sdk/soroban_server.py
ERROR: Parse error at line 46 column 23:
41: def __init__(
42: self,
43: server_url: str = "https://soroban-testnet.stellar.org:443",
44: client: Optional[BaseSyncClient] = None,
45: ) -> None:
--> self.server_url: str = server_url
47:
48: if not client:
49: client = RequestsClient()
50: self._client: BaseSyncClient = client
51:
52: def get_health(
ERROR: Unable to parse file: /code/stellar_sdk/soroban_rpc.py
ERROR: Parse error at line 19 column 11:
7: TypeVar("T")
8:
9: Id = Union[str, int]
10:
11:
12:
13: class Request(BaseModel, Generic[T]):
14: """Represent the request sent to Soroban-RPC.
15:
16: See `JSON-RPC 2.0 Specification - Request object <https://www.jsonrpc.org/specification#request_object>`__ for more information.
17: """
18:
--> jsonrpc: str = "2.0"
20: id: Id
21: method: str
22: params: Optional[T] = None
23:
24:
25: class Error(BaseModel):
26:
ERROR: Unable to parse file: /code/stellar_sdk/server.py
ERROR: Parse error at line 47 column 24:
25: """Server handles the network connection to a `Horizon <https://developers.stellar.org/api/introduction/>`_
26: instance and exposes an interface for requests to that instance.
27:
28: An example::
29:
30: from stellar_sdk import Server
31:
32: server = Server("https://horizon-testnet.stellar.org")
33: resp = server.transactions().limit(10).order(desc=True).call()
34: print(resp)
35:
36: :param horizon_url: Horizon Server URL
37: (ex. ``"https://horizon-testnet.stellar.org"`` for test network,
38: ``"https://horizon.stellar.org"`` for public network)
39: :param client: Http client used to send the request
40: """
41:
42: def __init__(
43: self,
44: horizon_url: str = "https://horizon-testnet.stellar.org/",
45: client: BaseSyncClient = None,
46: ) -> None:
--> self.horizon_url: str = horizon_url
48:
49: if not client:
50: client = RequestsClient()
51: self._client: BaseSyncClient = client
52:
53: def submit_transaction(
ERROR: Unable to parse file: /code/stellar_sdk/keypair.py
ERROR: Parse error at line 38 column 23:
17: """The :class:`Keypair` object, which represents a signing and
18: verifying key for use with the Stellar network.
19:
20: Instead of instantiating the class directly, we recommend using one of
21: several class methods:
22:
23: * :meth:`Keypair.random`
24: * :meth:`Keypair.from_secret`
25: * :meth:`Keypair.from_public_key`
26: * :meth:`Keypair.from_mnemonic_phrase`
27:
28: Learn how to create a key through our documentation:
29: `Generate Keypair <https://stellar-sdk.readthedocs.io/en/latest/generate_keypair.html>`__.
30:
31: :param verify_key: The verifying (public) Ed25519 key in the keypair.
32: :param signing_key: The signing (private) Ed25519 key in the keypair.
33: """
34:
35: def __init__(
36: self, verify_key: ed25519.VerifyKey, signing_key: ed25519.SigningKey = None
37: ) -> None:
--> self.verify_key: ed25519.VerifyKey = verify_key
39: self.signing_key: Optional[ed25519.SigningKey] = signing_key
40:
41: @classmethod
42: def random(cls) -
ERROR: Unable to parse file: /code/stellar_sdk/signer.py
ERROR: Parse error at line 27 column 23:
6:
7:
8:
9: class Signer:
10: """The :class:`Signer` object, which represents an account signer on Stellar's network.
11:
12: An example:
13:
14: from stellar_sdk import Signer
15:
16: signer_ed25519 = Signer.ed25519_public_key("GCC3U63F5OJIG4VS6XCFUJGCQRRMNCVGASDGIZZEPA3AZ242K4JVPIYV", 1)
17: signer_sha256_hash = Signer.sha256_hash("XCC3U63F5OJIG4VS6XCFUJGCQRRMNCVGASDGIZZEPA3AZ242K4JVPRP5", 2)
18: signer_pre_auth_tx = Signer.pre_auth_tx("TCC3U63F5OJIG4VS6XCFUJGCQRRMNCVGASDGIZZEPA3AZ242K4JVOVKE", 3)
19: print(f"signer_ed25519 account id: {signer_ed25519.signer_key.encoded_signer_key}")
20: print(f"signer_ed25519 weight: {signer_ed25519.weight}")
21:
22: :param signer_key: The signer object
23: :param weight: The weight of the key
24: """
25:
26: def __init__(self, signer_key: SignerKey, weight: int) -> None:
--> self.signer_key: SignerKey = signer_key
28: self.weight: int = weight
29:
30: @classmethod
31: def ed25519_public_key(cls, account_id: Union[str, bytes]
ERROR: Unable to parse file: /code/stellar_sdk/signer_key.py
ERROR: Parse error at line 26 column 23:
18: class SignedPayloadSigner:
19: """The :class:`SignedPayloadSigner` object, which represents a signed payload signer.
20:
21: :param account_id: The account id.
22: :param payload: The raw payload.
23: """
24:
25: def __init__(self, account_id: str, payload: bytes) -> None:
--> self.account_id: str = account_id
27: self.payload: bytes = payload
28:
29: def __hash__(self):
30: return hash((self.account_id,
ERROR: Unable to parse file: /code/stellar_sdk/base_transaction_envelope.py
ERROR: Parse error at line 20 column 31:
14:
15: def __init__(
16: self,
17: network_passphrase: str,
18: signatures: Sequence[DecoratedSignature] = None,
19: ) -> None:
--> self.network_passphrase: str = network_passphrase
21: self.signatures: List[DecoratedSignature] = (
22: list(signatures) if signatures else []
23: )
24: self._network_id:
ERROR: Unable to parse file: /code/stellar_sdk/ledger_bounds.py
ERROR: Parse error at line 26 column 23:
20: 0:
21: raise ValueError("max_ledger cannot be negative.")
22:
23: if 0 < max_ledger < min_ledger:
24: raise ValueError("min_ledger cannot be greater than max_ledger.")
25:
--> self.min_ledger: int = min_ledger
27: self.max_ledger: int = max_ledger
28:
29: def to_xdr_object(self) -> stellar_xdr.LedgerBounds:
30: """Returns the xdr object for this LedgerBounds object.
31:
32: :return: XDR LedgerBounds object
33: """
34: min_ledger
ERROR: Unable to parse file: /code/stellar_sdk/decorated_signature.py
ERROR: Parse error at line 17 column 27:
6: class DecoratedSignature:
7: def __init__(
8: self,
9: signature_hint: bytes,
10: signature: bytes,
11: ) -> None:
12: """The :class:`DecoratedSignature` object, which represents a DecoratedSignature on Stellar's network.
13:
14: :param signature_hint: The signer hint
15: :param signature: The signature
16: """
--> self.signature_hint: bytes = signature_hint
18: self.signature: bytes = signature
19:
20: def to_xdr_object(self) -> stellar_xdr.DecoratedSignature:
21: """Returns the xdr object for this DecoratedSignature object.
22:
23: :return: XDR DecoratedSignature object
24: """
25: signature_hint
ERROR: Unable to parse file: /code/stellar_sdk/fee_bump_transaction_envelope.py
ERROR: Parse error at line 39 column 24:
36: signatures: Sequence[DecoratedSignature] = None,
37: ) -> None:
38: super().__init__(network_passphrase, signatures)
--> self.transaction: FeeBumpTransaction = transaction
40:
41: def signature_base(self) -> bytes:
42: """Get the signature base of this transaction envelope.
43:
44: Return the "signature base" of this transaction, which is the value
45: that, when hashed, should be signed to create a signature that
46: validators on the Stellar Network will accept.
47:
48: It is composed of a 4 prefix bytes followed by the xdr-encoded form of
49: this transaction.
50:
51: :return: The signature base of this transaction envelope.
52:
53: """
54: network_id = self._network_id
55: packer = Packer()
ERROR: Unable to parse file: /code/stellar_sdk/time_bounds.py
ERROR: Parse error at line 35 column 21:
29: 0:
30: raise ValueError("max_time cannot be negative.")
31:
32: if 0 < max_time < min_time:
33: raise ValueError("min_time cannot be greater than max_time.")
34:
--> self.min_time: int = min_time
36: self.max_time: int = max_time
37:
38: def to_xdr_object(self) -> stellar_xdr.TimeBounds:
39: """Returns the xdr object for this TimeBounds object.
40:
41: :return: XDR TimeBounds object
42: """
43: min_time
ERROR: Unable to parse file: /code/stellar_sdk/liquidity_pool_id.py
ERROR: Parse error at line 17 column 30:
6: = ["LiquidityPoolId"]
7:
8:
9: class LiquidityPoolId:
10: """The :class:`LiquidityPoolId` object, which represents the asset referenced by a trustline to a liquidity pool.
11:
12: :param liquidity_pool_id: The ID of the liquidity pool in hex string.
13: :raise: :exc:`ValueError <stellar_sdk.exceptions.ValueError>`
14: """
15:
16: def __init__(self, liquidity_pool_id: str) -> None:
--> self.liquidity_pool_id: str = liquidity_pool_id
18: self.type: str = "liquidity_pool_shares"
19: raise_if_not_valid_hash(self.liquidity_pool_id, "liquidity_pool_id")
20:
21: def to_trust_line_asset_xdr_object(self) ->
ERROR: Unable to parse file: /code/stellar_sdk/utils.py
ERROR: Parse error at line 17 column 29:
9: , urlunsplit
10:
11: from .exceptions import Ed25519PublicKeyInvalidError, NoApproximationError
12: from .strkey import StrKey
13:
14: if TYPE_CHECKING:
15: from .asset import Asset
16:
--> MUXED_ACCOUNT_STARTING_LETTER: str = "M"
18: ED25519_PUBLIC_KEY_STARTING_LETTER: str = "G"
19: _LOWER_LIMIT = "0"
20: _UPPER_LIMIT = "922337203685.4775807"
21: _EXPONENT = 7
22: _ONE = Decimal(10**7
ERROR: Unable to parse file: /code/stellar_sdk/exceptions.py
ERROR: Parse error at line 97 column 20:
89: """Base class for horizon request errors.
90:
91: :param response: client response
92: """
93:
94: def __init__(self, response: Response) -> None:
95: super().__init__(response)
96:
--> self.message: str = response.text
98: self.status: int = response.status_code
99:
100: message = {}
101: try:
102: message = response.
ERROR: Unable to parse file: /code/stellar_sdk/muxed_account.py
ERROR: Parse error at line 42 column 23:
40: , account_id: str, account_muxed_id: Optional[int] = None) -> None:
41: Keypair.from_public_key(account_id)
--> self.account_id: str = account_id
43: self.account_muxed_id: Optional[int] = account_muxed_id
44:
45: @property
46: def account_muxed(self) -> Optional[str
ERROR: Unable to parse file: /code/stellar_sdk/liquidity_pool_asset.py
ERROR: Parse error at line 34 column 17:
28: , asset_b):
29: raise ValueError("`Assets are not in lexicographic order.")
30:
31: if fee != LIQUIDITY_POOL_FEE_V18:
32: raise ValueError("`fee` is invalid.")
33:
--> self.type: str = "liquidity_pool_shares"
35: self.asset_a: Asset = asset_a
36: self.asset_b: Asset = asset_b
37: self.fee: int = fee
38:
39:
ERROR: Unable to parse file: /code/stellar_sdk/sep/stellar_uri.py
ERROR: Parse error at line 25 column 14:
20: HashMemo, IdMemo, Memo, NoneMemo, ReturnHashMemo, TextMemo
21: from ..transaction_envelope import TransactionEnvelope
22:
23: __all__ = ["PayStellarUri", "TransactionStellarUri", "Replacement"]
24:
--> STELLAR_SCHEME: str = "web+stellar"
26:
27:
28: class StellarUri(object, metaclass=abc.ABCMeta):
29: def __init__(self, signature: Optional[str]
ERROR: Unable to parse file: /code/stellar_sdk/sep/federation.py
ERROR: Parse error at line 53 column 23:
40: stellar_address: str,
41: memo_type: Optional[str],
42: memo: Optional[str],
43: ) -> None:
44: """The :class:`FederationRecord`, which represents record in federation server.
45:
46: :param account_id: Stellar public key / account ID
47: :param stellar_address: Stellar address
48: :param memo_type: Type of memo to attach to transaction, one of ``text``, ``id`` or ``hash``
49: :param memo: value of memo to attach to transaction, for ``hash`` this should be base64-encoded.
50: This field should always be of type ``string`` (even when `memo_type` is equal ``id``) to support parsing
51: value in languages that don't support big numbers.
52: """
--> self.account_id: str = account_id
54: self.stellar_address: str = stellar_address
55: self.memo_type: Optional[str] = memo_type
56: self.memo: Optional[
ERROR: Unable to parse file: /code/stellar_sdk/sep/txrep.py
ERROR: Parse error at line 83 column 9:
77: (transaction_envelope, FeeBumpTransactionEnvelope)
78: fee_bump_transaction_envelope = transaction_envelope
79: fee_bump_transaction = fee_bump_transaction_envelope.transaction
80: transaction_envelope = fee_bump_transaction.inner_transaction_envelope
81: transaction = transaction_envelope.transaction
82:
--> lines: List[str] = []
84:
85: _add_line("type", tx_type, lines)
86: if is_fee_bump:
87: assert isinstance(fee_bump_transaction, FeeBumpTransaction)
ERROR: Unable to parse file: /code/stellar_sdk/sep/stellar_web_authentication.py
ERROR: Parse error at line 36 column 29:
24: from .ed25519_public_key_signer import Ed25519PublicKeySigner
25: from .exceptions import InvalidSep10ChallengeError
26:
27: __all__ = [
28: "build_challenge_transaction",
29: "verify_challenge_transaction_signers",
30: "verify_challenge_transaction_signed_by_client_master_key",
31: "verify_challenge_transaction_threshold",
32: "read_challenge_transaction",
33: "verify_challenge_transaction",
34: ]
35:
--> MUXED_ACCOUNT_STARTING_LETTER: str = "M"
37:
38:
39: class ChallengeTransaction:
40: """Used to store the results produced
41: by :func:`stellar_sdk.sep.stellar_web_authentication.read_challenge_transaction`.
42:
43: :param transaction: The TransactionEnvelope parsed from challenge xdr.
44: :param client_account_id: The stellar account that the wallet wishes to authenticate with the server.
45: :param matched_home_domain: The domain name that has been matched.
46: :param memo: The ID memo attached to the transaction
47: """
48:
49: def __init__(
50: self,
51: transaction: TransactionEnvelope,
52: client_account_id: str,
53: matched_home_domain: str,
54: memo
ERROR: Unable to parse file: /code/stellar_sdk/sep/exceptions.py
ERROR: Parse error at line 24 column 20:
16: :
17: """If the federation address is invalid, the exception will be thrown.
18:
19: :param response: client response
20: """
21:
22: def __init__(self, response) -> None:
23: super().__init__(response)
--> self.message: str = response.text
25: self.status: int = response.status_code
26:
27:
28: class InvalidSep10ChallengeError(SdkError):
29: """If the SEP 0010 validation fails, the exception will be thrown."""
30:
31:
32:
ERROR: Unable to parse file: /code/stellar_sdk/transaction_builder.py
ERROR: Parse error at line 102 column 27:
97: : Account,
98: network_passphrase: str = Network.TESTNET_NETWORK_PASSPHRASE,
99: base_fee: int = 100,
100: v1: bool = True,
101: ):
--> self.source_account: Account = source_account
103: self.base_fee: int = base_fee
104: self.network_passphrase: str = network_passphrase
105: self.operations: List[Operation] =
ERROR: Unable to parse file: /code/stellar_sdk/soroban_server_async.py
ERROR: Parse error at line 46 column 23:
41: def __init__(
42: self,
43: server_url: str = "https://soroban-testnet.stellar.org:443",
44: client: Optional[BaseAsyncClient] = None,
45: ) -> None:
--> self.server_url: str = server_url
47:
48: if not client:
49: client = AiohttpClient()
50: self._client: BaseAsyncClient = client
51:
52: async def get_health
ERROR: Unable to parse file: /code/stellar_sdk/fee_bump_transaction.py
ERROR: Parse error at line 37 column 23:
33: (fee_source)
34: if isinstance(fee_source, Keypair):
35: fee_source = MuxedAccount.from_account(fee_source.public_key)
36:
--> self.fee_source: MuxedAccount = fee_source
38: self.base_fee: int = base_fee
39: self.inner_transaction_envelope: TransactionEnvelope = (
40: inner_transaction_envelope.to_transaction_envelope_v1()
41: )
42: self._inner_transaction
INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 0.895s
INFO: Final Memory: 6M/295M
INFO: ------------------------------------------------------------------------
|