-
Notifications
You must be signed in to change notification settings - Fork 475
Update generated code for private-preview #1698
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
stripe-openapi
wants to merge
15
commits into
private-preview
Choose a base branch
from
latest-codegen-private-preview
base: private-preview
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Update generated code for v2135 and * Update generated code for v2137 and * Update generated code for v2140 and --------- Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Applying marks to a pytest fixture has never actually worked, it has just been a no-op. Starting with pytest 9, it now raises an error to fix code that does so. Remove the mark.
…) (#1687) * Fix DeprecationWarning when encoding StripeObject metadata (fixes #1651) * Suppress deprecation warnings during internal encoding to fix metadata updates * Use getattr for id access to avoid stripe_id deprecation warning * Handle None id values correctly in encoding * Simplify to check hasattr(value, id) directly --------- Co-authored-by: Ramya Rao <100975018+ramya-stripe@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Codegen for openapi v2149 and proto spec .
Changelog
tax.Locationcreate,list, andretrievemethods on resourcetax.Locationperformance_locationonInvoiceAddLinesParamsLinePriceDatumProductDatumTaxDetail,InvoiceLineItemModifyParamsPriceDatumProductDatumTaxDetail,InvoiceUpdateLinesParamsLinePriceDatumProductDatumTaxDetail,PaymentLinkCreateParamsLineItemPriceDatumProductDatumTaxDetail,ProductCreateParamsTaxDetail,ProductModifyParamsTaxDetail,Tax.CalculationLineItem,checkout.SessionCreateParamsLineItemPriceDatumProductDatumTaxDetail,checkout.SessionModifyParamsLineItemPriceDatumProductDatumTaxDetail, andtax.CalculationCreateParamsLineItemperformanceon enumsTax.Calculation.ShippingCost.TaxBreakdown.sourcing,Tax.CalculationLineItem.TaxBreakdown.sourcing, andTax.Transaction.ShippingCost.TaxBreakdown.sourcingadmissions_tax,attendance_tax,entertainment_tax,gross_receipts_tax,hospitality_tax,luxury_tax,resort_tax, andtourism_taxon enumsTax.Calculation.ShippingCost.TaxBreakdown.TaxRateDetail.tax_type,Tax.Calculation.TaxBreakdown.TaxRateDetail.tax_type,Tax.CalculationLineItem.TaxBreakdown.TaxRateDetail.tax_type, andTax.Transaction.ShippingCost.TaxBreakdown.TaxRateDetail.tax_typedelegated_checkout.RequestedSessionModifyParams.metadatafrommap(string: string)toemptyable(map(string: string))delegated_checkout.RequestedSessionModifyParams.payment_method_datafrompayment_method_datatoemptyable(payment_method_data)delegated_checkout.RequestedSessionModifyParams.shared_metadatafrommap(string: string)toemptyable(map(string: string))subscriptiononInvoice.Parent.ScheduleDetailandQuotePreviewInvoice.Parent.ScheduleDetailPaymentIntentConfirmParamsPaymentDetailBenefit.fr_meal_voucher,PaymentIntentCreateParamsPaymentDetailBenefit.fr_meal_voucher,PaymentIntentModifyParamsPaymentDetailBenefit.fr_meal_voucher,SetupIntentConfirmParamsSetupDetailBenefit.fr_meal_voucher,SetupIntentCreateParamsSetupDetailBenefit.fr_meal_voucher, andSetupIntentModifyParamsSetupDetailBenefit.fr_meal_voucherfrompayment_details_benefit_fr_meal_vouchertoemptyable(payment_details_benefit_fr_meal_voucher)tax_detailsonPlanCreateParamsProductandPriceCreateParamsProductDatumexternal_referenceonPlanandPricephase_starton enumsQuote.SubscriptionDataOverride.phase_effective_at,Quote.SubscriptionDatum.phase_effective_at,QuoteCreateParamsSubscriptionDataOverride.phase_effective_at,QuoteCreateParamsSubscriptionDatum.phase_effective_at,QuoteModifyParamsSubscriptionDataOverride.phase_effective_at, andQuoteModifyParamsSubscriptionDatum.phase_effective_atline_startfrom enumsQuote.SubscriptionDataOverride.phase_effective_at,Quote.SubscriptionDatum.phase_effective_at,QuoteCreateParamsSubscriptionDataOverride.phase_effective_at,QuoteCreateParamsSubscriptionDatum.phase_effective_at,QuoteModifyParamsSubscriptionDataOverride.phase_effective_at, andQuoteModifyParamsSubscriptionDatum.phase_effective_atadmissions_tax,attendance_tax,entertainment_tax,gross_receipts_tax,hospitality_tax,luxury_tax,resort_tax, andtourism_taxon enumsTax.Registration.CountryOption.Me.typeandtax.RegistrationCreateParamsCountryOptionMe.typeadmissions_tax,attendance_tax,entertainment_tax,gross_receipts_tax,hospitality_tax,luxury_tax,resort_tax, andtourism_taxonTax.Registration.CountryOption.MerequirementsonTaxCode