Skip to content

Commit

Permalink
Fixing formatting using black after SDK generation. (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonCWang authored Oct 10, 2024
2 parents aecb8a8 + 0d0e323 commit ca226e4
Show file tree
Hide file tree
Showing 96 changed files with 0 additions and 96 deletions.
1 change: 0 additions & 1 deletion lightspark/objects/AccountToApiTokensConnection.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

@dataclass
class AccountToApiTokensConnection(Connection):

requester: Requester

count: int
Expand Down
1 change: 0 additions & 1 deletion lightspark/objects/AccountToChannelsConnection.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

@dataclass
class AccountToChannelsConnection(Connection):

requester: Requester

count: int
Expand Down
1 change: 0 additions & 1 deletion lightspark/objects/AccountToPaymentRequestsConnection.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

@dataclass
class AccountToPaymentRequestsConnection(Connection):

requester: Requester

count: int
Expand Down
1 change: 0 additions & 1 deletion lightspark/objects/AccountToTransactionsConnection.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

@dataclass
class AccountToTransactionsConnection(Connection):

requester: Requester

count: int
Expand Down
1 change: 0 additions & 1 deletion lightspark/objects/AccountToWalletsConnection.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

@dataclass
class AccountToWalletsConnection(Connection):

requester: Requester

count: int
Expand Down
1 change: 0 additions & 1 deletion lightspark/objects/ChannelSnapshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@dataclass
class ChannelSnapshot(Entity):

requester: Requester

id: str
Expand Down
1 change: 0 additions & 1 deletion lightspark/objects/ChannelToTransactionsConnection.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

@dataclass
class ChannelToTransactionsConnection:

requester: Requester

count: int
Expand Down
1 change: 0 additions & 1 deletion lightspark/objects/ClaimUmaInvitationInput.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

@dataclass
class ClaimUmaInvitationInput:

invitation_code: str
"""The unique code that identifies this invitation and was shared by the inviter."""

Expand Down
1 change: 0 additions & 1 deletion lightspark/objects/ClaimUmaInvitationOutput.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

@dataclass
class ClaimUmaInvitationOutput:

requester: Requester

invitation_id: str
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

@dataclass
class ClaimUmaInvitationWithIncentivesInput:

invitation_code: str
"""The unique code that identifies this invitation and was shared by the inviter."""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

@dataclass
class ClaimUmaInvitationWithIncentivesOutput:

requester: Requester

invitation_id: str
Expand Down
1 change: 0 additions & 1 deletion lightspark/objects/Connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

@dataclass
class Connection:

requester: Requester

count: int
Expand Down
1 change: 0 additions & 1 deletion lightspark/objects/CreateApiTokenInput.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

@dataclass
class CreateApiTokenInput:

name: str
"""An arbitrary name that the user can choose to identify the API token in a list."""

Expand Down
1 change: 0 additions & 1 deletion lightspark/objects/CreateApiTokenOutput.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

@dataclass
class CreateApiTokenOutput:

requester: Requester

api_token: ApiToken
Expand Down
1 change: 0 additions & 1 deletion lightspark/objects/CreateInvitationWithIncentivesInput.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

@dataclass
class CreateInvitationWithIncentivesInput:

inviter_uma: str
"""The UMA of the user creating the invitation. It will be used to identify the inviter when receiving the invitation."""

Expand Down
1 change: 0 additions & 1 deletion lightspark/objects/CreateInvitationWithIncentivesOutput.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

@dataclass
class CreateInvitationWithIncentivesOutput:

requester: Requester

invitation_id: str
Expand Down
1 change: 0 additions & 1 deletion lightspark/objects/CreateInvoiceInput.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

@dataclass
class CreateInvoiceInput:

node_id: str
"""The node from which to create the invoice."""

Expand Down
1 change: 0 additions & 1 deletion lightspark/objects/CreateInvoiceOutput.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

@dataclass
class CreateInvoiceOutput:

requester: Requester

invoice_id: str
Expand Down
1 change: 0 additions & 1 deletion lightspark/objects/CreateLnurlInvoiceInput.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

@dataclass
class CreateLnurlInvoiceInput:

node_id: str
"""The node from which to create the invoice."""

Expand Down
1 change: 0 additions & 1 deletion lightspark/objects/CreateNodeWalletAddressInput.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

@dataclass
class CreateNodeWalletAddressInput:

node_id: str

def to_json(self) -> Mapping[str, Any]:
Expand Down
1 change: 0 additions & 1 deletion lightspark/objects/CreateNodeWalletAddressOutput.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@dataclass
class CreateNodeWalletAddressOutput:

requester: Requester

node_id: str
Expand Down
1 change: 0 additions & 1 deletion lightspark/objects/CreateTestModeInvoiceInput.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

@dataclass
class CreateTestModeInvoiceInput:

local_node_id: str

amount_msats: int
Expand Down
1 change: 0 additions & 1 deletion lightspark/objects/CreateTestModeInvoiceOutput.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

@dataclass
class CreateTestModeInvoiceOutput:

requester: Requester

encoded_payment_request: str
Expand Down
1 change: 0 additions & 1 deletion lightspark/objects/CreateTestModePaymentInput.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

@dataclass
class CreateTestModePaymentInput:

local_node_id: str
"""The node to where you want to send the payment."""

Expand Down
1 change: 0 additions & 1 deletion lightspark/objects/CreateUmaInvitationInput.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

@dataclass
class CreateUmaInvitationInput:

inviter_uma: str
"""The UMA of the user creating the invitation. It will be used to identify the inviter when receiving the invitation."""

Expand Down
1 change: 0 additions & 1 deletion lightspark/objects/CreateUmaInvitationOutput.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

@dataclass
class CreateUmaInvitationOutput:

requester: Requester

invitation_id: str
Expand Down
1 change: 0 additions & 1 deletion lightspark/objects/CreateUmaInvoiceInput.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

@dataclass
class CreateUmaInvoiceInput:

node_id: str
"""The node from which to create the invoice."""

Expand Down
1 change: 0 additions & 1 deletion lightspark/objects/DailyLiquidityForecast.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

@dataclass
class DailyLiquidityForecast:

requester: Requester

date: datetime
Expand Down
1 change: 0 additions & 1 deletion lightspark/objects/DeclineToSignMessagesInput.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

@dataclass
class DeclineToSignMessagesInput:

payload_ids: List[str]
"""List of payload ids to decline to sign because validation failed."""

Expand Down
1 change: 0 additions & 1 deletion lightspark/objects/DeclineToSignMessagesOutput.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

@dataclass
class DeclineToSignMessagesOutput:

requester: Requester

declined_payloads: List[SignablePayload]
Expand Down
1 change: 0 additions & 1 deletion lightspark/objects/DeleteApiTokenInput.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

@dataclass
class DeleteApiTokenInput:

api_token_id: str

def to_json(self) -> Mapping[str, Any]:
Expand Down
1 change: 0 additions & 1 deletion lightspark/objects/DeleteApiTokenOutput.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

@dataclass
class DeleteApiTokenOutput:

requester: Requester

account_id: str
Expand Down
1 change: 0 additions & 1 deletion lightspark/objects/FailHtlcsInput.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

@dataclass
class FailHtlcsInput:

invoice_id: str
"""The id of invoice which the pending HTLCs that need to be failed are paying for."""

Expand Down
1 change: 0 additions & 1 deletion lightspark/objects/FailHtlcsOutput.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

@dataclass
class FailHtlcsOutput:

requester: Requester

invoice_id: str
Expand Down
1 change: 0 additions & 1 deletion lightspark/objects/FundNodeInput.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

@dataclass
class FundNodeInput:

node_id: str

amount_sats: Optional[int]
Expand Down
1 change: 0 additions & 1 deletion lightspark/objects/FundNodeOutput.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

@dataclass
class FundNodeOutput:

requester: Requester

amount: CurrencyAmount
Expand Down
1 change: 0 additions & 1 deletion lightspark/objects/IdAndSignature.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

@dataclass
class IdAndSignature:

id: str
"""The id of the message."""

Expand Down
1 change: 0 additions & 1 deletion lightspark/objects/IncomingPaymentsForInvoiceQueryInput.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

@dataclass
class IncomingPaymentsForInvoiceQueryInput:

invoice_id: str

statuses: Optional[List[TransactionStatus]]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

@dataclass
class IncomingPaymentsForInvoiceQueryOutput:

requester: Requester

payments: List[IncomingPayment]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

@dataclass
class IncomingPaymentsForPaymentHashQueryInput:

payment_hash: str
"""The 32-byte hash of the payment preimage for which to fetch payments"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

@dataclass
class IncomingPaymentsForPaymentHashQueryOutput:

requester: Requester

payments: List[IncomingPayment]
Expand Down
1 change: 0 additions & 1 deletion lightspark/objects/InvoiceForPaymentHashInput.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

@dataclass
class InvoiceForPaymentHashInput:

payment_hash: str
"""The 32-byte hash of the payment preimage for which to fetch an invoice."""

Expand Down
1 change: 0 additions & 1 deletion lightspark/objects/InvoiceForPaymentHashOutput.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

@dataclass
class InvoiceForPaymentHashOutput:

requester: Requester

invoice_id: Optional[str]
Expand Down
1 change: 0 additions & 1 deletion lightspark/objects/LightningFeeEstimateForInvoiceInput.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

@dataclass
class LightningFeeEstimateForInvoiceInput:

node_id: str
"""The node from where you want to send the payment."""

Expand Down
1 change: 0 additions & 1 deletion lightspark/objects/LightningFeeEstimateForNodeInput.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

@dataclass
class LightningFeeEstimateForNodeInput:

node_id: str
"""The node from where you want to send the payment."""

Expand Down
1 change: 0 additions & 1 deletion lightspark/objects/LightningFeeEstimateOutput.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

@dataclass
class LightningFeeEstimateOutput:

requester: Requester

fee_estimate: CurrencyAmount
Expand Down
1 change: 0 additions & 1 deletion lightspark/objects/LightsparkNodeStatus.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@


class LightsparkNodeStatus(Enum):

___FUTURE_VALUE___ = "___FUTURE_VALUE___"
"""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."""
CREATED = "CREATED"
Expand Down
1 change: 0 additions & 1 deletion lightspark/objects/LightsparkNodeToChannelsConnection.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

@dataclass
class LightsparkNodeToChannelsConnection(Connection):

requester: Requester

count: int
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

@dataclass
class LightsparkNodeToDailyLiquidityForecastsConnection:

requester: Requester

from_date: datetime
Expand Down
1 change: 0 additions & 1 deletion lightspark/objects/MultiSigAddressValidationParameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

@dataclass
class MultiSigAddressValidationParameters:

requester: Requester

counterparty_funding_pubkey: str
Expand Down
Loading

0 comments on commit ca226e4

Please sign in to comment.