Skip to content

Commit aa27c44

Browse files
committed
run black
1 parent 0067c16 commit aa27c44

File tree

94 files changed

+0
-94
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+0
-94
lines changed

lightspark/objects/AccountToApiTokensConnection.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
@dataclass
1616
class AccountToApiTokensConnection(Connection):
17-
1817
requester: Requester
1918

2019
count: int

lightspark/objects/AccountToChannelsConnection.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
@dataclass
1616
class AccountToChannelsConnection(Connection):
17-
1817
requester: Requester
1918

2019
count: int

lightspark/objects/AccountToPaymentRequestsConnection.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
@dataclass
1616
class AccountToPaymentRequestsConnection(Connection):
17-
1817
requester: Requester
1918

2019
count: int

lightspark/objects/AccountToTransactionsConnection.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
@dataclass
1818
class AccountToTransactionsConnection(Connection):
19-
2019
requester: Requester
2120

2221
count: int

lightspark/objects/AccountToWalletsConnection.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
@dataclass
1616
class AccountToWalletsConnection(Connection):
17-
1817
requester: Requester
1918

2019
count: int

lightspark/objects/ChannelSnapshot.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
@dataclass
1515
class ChannelSnapshot(Entity):
16-
1716
requester: Requester
1817

1918
id: str

lightspark/objects/ChannelToTransactionsConnection.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
@dataclass
1313
class ChannelToTransactionsConnection:
14-
1514
requester: Requester
1615

1716
count: int

lightspark/objects/ClaimUmaInvitationInput.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
@dataclass
88
class ClaimUmaInvitationInput:
9-
109
invitation_code: str
1110
"""The unique code that identifies this invitation and was shared by the inviter."""
1211

lightspark/objects/ClaimUmaInvitationOutput.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
@dataclass
1010
class ClaimUmaInvitationOutput:
11-
1211
requester: Requester
1312

1413
invitation_id: str

lightspark/objects/ClaimUmaInvitationWithIncentivesInput.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
@dataclass
1212
class ClaimUmaInvitationWithIncentivesInput:
13-
1413
invitation_code: str
1514
"""The unique code that identifies this invitation and was shared by the inviter."""
1615

lightspark/objects/ClaimUmaInvitationWithIncentivesOutput.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
@dataclass
1010
class ClaimUmaInvitationWithIncentivesOutput:
11-
1211
requester: Requester
1312

1413
invitation_id: str

lightspark/objects/Connection.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
@dataclass
1111
class Connection:
12-
1312
requester: Requester
1413

1514
count: int

lightspark/objects/CreateApiTokenInput.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
@dataclass
1212
class CreateApiTokenInput:
13-
1413
name: str
1514
"""An arbitrary name that the user can choose to identify the API token in a list."""
1615

lightspark/objects/CreateApiTokenOutput.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
@dataclass
1313
class CreateApiTokenOutput:
14-
1514
requester: Requester
1615

1716
api_token: ApiToken

lightspark/objects/CreateInvitationWithIncentivesInput.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
@dataclass
1212
class CreateInvitationWithIncentivesInput:
13-
1413
inviter_uma: str
1514
"""The UMA of the user creating the invitation. It will be used to identify the inviter when receiving the invitation."""
1615

lightspark/objects/CreateInvitationWithIncentivesOutput.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
@dataclass
1010
class CreateInvitationWithIncentivesOutput:
11-
1211
requester: Requester
1312

1413
invitation_id: str

lightspark/objects/CreateInvoiceInput.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
@dataclass
1212
class CreateInvoiceInput:
13-
1413
node_id: str
1514
"""The node from which to create the invoice."""
1615

lightspark/objects/CreateInvoiceOutput.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
@dataclass
1010
class CreateInvoiceOutput:
11-
1211
requester: Requester
1312

1413
invoice_id: str

lightspark/objects/CreateLnurlInvoiceInput.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
@dataclass
88
class CreateLnurlInvoiceInput:
9-
109
node_id: str
1110
"""The node from which to create the invoice."""
1211

lightspark/objects/CreateNodeWalletAddressInput.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
@dataclass
88
class CreateNodeWalletAddressInput:
9-
109
node_id: str
1110

1211
def to_json(self) -> Mapping[str, Any]:

lightspark/objects/CreateNodeWalletAddressOutput.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
@dataclass
1515
class CreateNodeWalletAddressOutput:
16-
1716
requester: Requester
1817

1918
node_id: str

lightspark/objects/CreateTestModeInvoiceInput.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
@dataclass
1212
class CreateTestModeInvoiceInput:
13-
1413
local_node_id: str
1514

1615
amount_msats: int

lightspark/objects/CreateTestModeInvoiceOutput.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
@dataclass
1010
class CreateTestModeInvoiceOutput:
11-
1211
requester: Requester
1312

1413
encoded_payment_request: str

lightspark/objects/CreateTestModePaymentInput.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
@dataclass
88
class CreateTestModePaymentInput:
9-
109
local_node_id: str
1110
"""The node to where you want to send the payment."""
1211

lightspark/objects/CreateUmaInvitationInput.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
@dataclass
88
class CreateUmaInvitationInput:
9-
109
inviter_uma: str
1110
"""The UMA of the user creating the invitation. It will be used to identify the inviter when receiving the invitation."""
1211

lightspark/objects/CreateUmaInvitationOutput.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
@dataclass
1010
class CreateUmaInvitationOutput:
11-
1211
requester: Requester
1312

1413
invitation_id: str

lightspark/objects/CreateUmaInvoiceInput.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
@dataclass
88
class CreateUmaInvoiceInput:
9-
109
node_id: str
1110

1211
amount_msats: int

lightspark/objects/DailyLiquidityForecast.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
@dataclass
1616
class DailyLiquidityForecast:
17-
1817
requester: Requester
1918

2019
date: datetime

lightspark/objects/DeclineToSignMessagesInput.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
@dataclass
88
class DeclineToSignMessagesInput:
9-
109
payload_ids: List[str]
1110
"""List of payload ids to decline to sign because validation failed."""
1211

lightspark/objects/DeclineToSignMessagesOutput.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
@dataclass
1313
class DeclineToSignMessagesOutput:
14-
1514
requester: Requester
1615

1716
declined_payloads: List[SignablePayload]

lightspark/objects/DeleteApiTokenInput.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
@dataclass
88
class DeleteApiTokenInput:
9-
109
api_token_id: str
1110

1211
def to_json(self) -> Mapping[str, Any]:

lightspark/objects/DeleteApiTokenOutput.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
@dataclass
1010
class DeleteApiTokenOutput:
11-
1211
requester: Requester
1312

1413
account_id: str

lightspark/objects/FailHtlcsInput.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
@dataclass
88
class FailHtlcsInput:
9-
109
invoice_id: str
1110
"""The id of invoice which the pending HTLCs that need to be failed are paying for."""
1211

lightspark/objects/FailHtlcsOutput.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
@dataclass
1010
class FailHtlcsOutput:
11-
1211
requester: Requester
1312

1413
invoice_id: str

lightspark/objects/FundNodeInput.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
@dataclass
88
class FundNodeInput:
9-
109
node_id: str
1110

1211
amount_sats: Optional[int]

lightspark/objects/FundNodeOutput.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
@dataclass
1313
class FundNodeOutput:
14-
1514
requester: Requester
1615

1716
amount: CurrencyAmount

lightspark/objects/IdAndSignature.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
@dataclass
88
class IdAndSignature:
9-
109
id: str
1110
"""The id of the message."""
1211

lightspark/objects/IncomingPaymentsForInvoiceQueryInput.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
@dataclass
1212
class IncomingPaymentsForInvoiceQueryInput:
13-
1413
invoice_id: str
1514

1615
statuses: Optional[List[TransactionStatus]]

lightspark/objects/IncomingPaymentsForInvoiceQueryOutput.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
@dataclass
1313
class IncomingPaymentsForInvoiceQueryOutput:
14-
1514
requester: Requester
1615

1716
payments: List[IncomingPayment]

lightspark/objects/InvoiceForPaymentHashInput.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
@dataclass
88
class InvoiceForPaymentHashInput:
9-
109
payment_hash: str
1110
"""The 32-byte hash of the payment preimage for which to fetch an invoice."""
1211

lightspark/objects/InvoiceForPaymentHashOutput.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
@dataclass
1010
class InvoiceForPaymentHashOutput:
11-
1211
requester: Requester
1312

1413
invoice_id: Optional[str]

lightspark/objects/LightningFeeEstimateForInvoiceInput.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
@dataclass
88
class LightningFeeEstimateForInvoiceInput:
9-
109
node_id: str
1110
"""The node from where you want to send the payment."""
1211

lightspark/objects/LightningFeeEstimateForNodeInput.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
@dataclass
88
class LightningFeeEstimateForNodeInput:
9-
109
node_id: str
1110
"""The node from where you want to send the payment."""
1211

lightspark/objects/LightningFeeEstimateOutput.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
@dataclass
1313
class LightningFeeEstimateOutput:
14-
1514
requester: Requester
1615

1716
fee_estimate: CurrencyAmount

lightspark/objects/LightsparkNodeStatus.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55

66
class LightsparkNodeStatus(Enum):
7-
87
___FUTURE_VALUE___ = "___FUTURE_VALUE___"
98
"""This is an enum value that represents future values that could be added in the future. Clients should support unknown values as more of them could be added without notice."""
109
CREATED = "CREATED"

lightspark/objects/LightsparkNodeToChannelsConnection.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
@dataclass
1616
class LightsparkNodeToChannelsConnection(Connection):
17-
1817
requester: Requester
1918

2019
count: int

lightspark/objects/LightsparkNodeToDailyLiquidityForecastsConnection.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
@dataclass
1616
class LightsparkNodeToDailyLiquidityForecastsConnection:
17-
1817
requester: Requester
1918

2019
from_date: datetime

lightspark/objects/MultiSigAddressValidationParameters.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
@dataclass
1010
class MultiSigAddressValidationParameters:
11-
1211
requester: Requester
1312

1413
counterparty_funding_pubkey: str

lightspark/objects/OnChainFeeTarget.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55

66
class OnChainFeeTarget(Enum):
7-
87
___FUTURE_VALUE___ = "___FUTURE_VALUE___"
98
"""This is an enum value that represents future values that could be added in the future. Clients should support unknown values as more of them could be added without notice."""
109
HIGH = "HIGH"

lightspark/objects/OutgoingPaymentForIdempotencyKeyInput.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
@dataclass
88
class OutgoingPaymentForIdempotencyKeyInput:
9-
109
idempotency_key: str
1110

1211
def to_json(self) -> Mapping[str, Any]:

0 commit comments

Comments
 (0)