mainsequence 8.1.23.dev24__py3-none-any.whl → 8.1.24.dev25__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -574,20 +574,6 @@ class CodeRepositoryBranch(BasePydanticModel, BaseObjectOrm):
574
574
  params = {"commit_sha": commit_sha} if commit_sha else None
575
575
  return self._get_action("infra-graph", params=params, timeout=timeout)
576
576
 
577
- def _resolved_github_issue_branch_uid(self, operation: str) -> str:
578
- """Assert that this instance is the process-frozen Git branch."""
579
-
580
- from mainsequence.code_repository_context import (
581
- resolve_code_repository_branch_uid,
582
- resolve_organization_environment_uid,
583
- )
584
-
585
- branch_uid = resolve_code_repository_branch_uid(operation, supplied_uid=self.uid)
586
- # GitHub issues persist Environment ownership from the resolved branch. The
587
- # backend derives it from the branch path; it is never a caller selector.
588
- resolve_organization_environment_uid(operation)
589
- return branch_uid
590
-
591
577
  def list_github_issues(
592
578
  self,
593
579
  *,
@@ -597,14 +583,12 @@ class CodeRepositoryBranch(BasePydanticModel, BaseObjectOrm):
597
583
  limit: int = 50,
598
584
  timeout: int | float | tuple[float, float] | None = None,
599
585
  ) -> GitHubIssuePage:
600
- """List issues anchored to the process-frozen CodeRepositoryBranch."""
586
+ """List issues for this branch, subject to backend authorization."""
601
587
 
602
588
  from .github_issues import _list_github_issues_for_branch
603
589
 
604
- operation = "CodeRepositoryBranch.list_github_issues"
605
- branch_uid = self._resolved_github_issue_branch_uid(operation)
606
590
  return _list_github_issues_for_branch(
607
- branch_uid=branch_uid,
591
+ branch_uid=self.uid,
608
592
  state=state,
609
593
  updated_since=updated_since,
610
594
  cursor=cursor,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mainsequence
3
- Version: 8.1.23.dev24
3
+ Version: 8.1.24.dev25
4
4
  Summary: Main Sequence SDK
5
5
  Author-email: Main Sequence GmbH <dev@main-sequence.io>
6
6
  License-Expression: LicenseRef-MainSequence-Proprietary
@@ -43,7 +43,7 @@ mainsequence/client/compute_validation.py,sha256=ByeX0CkIE7qq06ggZFfN92U3Qp2e9cv
43
43
  mainsequence/client/dtype_codec.py,sha256=0ydXPw0dWTVtUzmXoT6ilr2TM_vNC3WTiy3I8QI1ni8,16522
44
44
  mainsequence/client/exceptions.py,sha256=xx2L4l3OMNsTybbYkiTKK398ahnutEascM0It35tGr0,3815
45
45
  mainsequence/client/github_issues.py,sha256=pSTUw3UPrmE6wqnpoJctartTaNSq6iu6PQRrd8hip6I,14568
46
- mainsequence/client/models_foundry.py,sha256=4h_FG1mbJvKvGAcxhw5BYSOHh5_i9sPnd0Ixla2xu6g,42383
46
+ mainsequence/client/models_foundry.py,sha256=K1LVhLD6dBen11tntu2oIKHIqScYB4P3tKysVP6Ho90,41592
47
47
  mainsequence/client/models_helpers.py,sha256=GR1DDSeUDk8VpZYVROB_wMKb6WwfgjSs883Aqht92kc,45105
48
48
  mainsequence/client/models_user.py,sha256=l7t7q1nSa2kbLZ7dHbAjSpuRY8e9kWEjC8u3MK4Qfzw,41317
49
49
  mainsequence/client/observability.py,sha256=tDoy2NDcDrjeXFAHuxaylaMy2-NOuoN_arFdIOMppro,15842
@@ -84,9 +84,9 @@ mainsequence/meta_tables/time_index_table_updates/namespacing.py,sha256=obJfMnjL
84
84
  mainsequence/meta_tables/time_index_table_updates/runner.py,sha256=853p_iXJ835pI8pX3519HSdTw93Bqqd3JxHOfm3S6yg,34412
85
85
  mainsequence/meta_tables/time_index_table_updates/updaters.py,sha256=-6zJgi1sDRCyIyVxLwTfb2RLLZS4LC0syNJHnJRAtgU,31404
86
86
  mainsequence/meta_tables/time_index_table_updates/utils.py,sha256=O1iKp2tzCkqxyCblI6MKxez6XV180w87VszxDO9OfAE,621
87
- mainsequence-8.1.23.dev24.dist-info/licenses/LICENSE,sha256=fXoCKgEuZXmP84_QDXpvO18QHze_6AAhd-zvZBUjJxQ,4524
88
- mainsequence-8.1.23.dev24.dist-info/METADATA,sha256=LslkAITjJv9-9xP1_2ZofJ3tadXJy-ah9cE4t53a5Ng,7384
89
- mainsequence-8.1.23.dev24.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
90
- mainsequence-8.1.23.dev24.dist-info/entry_points.txt,sha256=XGAOq3-mF2lWWpeRJvoaWyMarRcK167mH1g124aGdUs,88
91
- mainsequence-8.1.23.dev24.dist-info/top_level.txt,sha256=BFeblM_Q9q0cUWBvTxnfWcWQEHtf5XZi9nOS-Gdfwus,28
92
- mainsequence-8.1.23.dev24.dist-info/RECORD,,
87
+ mainsequence-8.1.24.dev25.dist-info/licenses/LICENSE,sha256=fXoCKgEuZXmP84_QDXpvO18QHze_6AAhd-zvZBUjJxQ,4524
88
+ mainsequence-8.1.24.dev25.dist-info/METADATA,sha256=GSYXdF-gAVIJ8KToPP7RMj75t7WqWtKJ5NlfnECXMqs,7384
89
+ mainsequence-8.1.24.dev25.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
90
+ mainsequence-8.1.24.dev25.dist-info/entry_points.txt,sha256=XGAOq3-mF2lWWpeRJvoaWyMarRcK167mH1g124aGdUs,88
91
+ mainsequence-8.1.24.dev25.dist-info/top_level.txt,sha256=BFeblM_Q9q0cUWBvTxnfWcWQEHtf5XZi9nOS-Gdfwus,28
92
+ mainsequence-8.1.24.dev25.dist-info/RECORD,,