Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "0.17.2" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "0.17.2" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -907,8 +907,10 @@ class TaskGroup(proto.Message):
Default is 1.
parallelism (int):
Max number of tasks that can run in parallel. Default to
min(task_count, 1000). Field parallelism must be 1 if the
scheduling_policy is IN_ORDER.
min(task_count, parallel tasks per job limit). See: `Job
Limits <https://cloud.google.com/batch/quotas#job_limits>`__.
Field parallelism must be 1 if the scheduling_policy is
IN_ORDER.
scheduling_policy (google.cloud.batch_v1.types.TaskGroup.SchedulingPolicy):
Scheduling policy for Tasks in the TaskGroup. The default
value is AS_SOON_AS_POSSIBLE.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "0.17.2" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -1051,8 +1051,10 @@ class TaskGroup(proto.Message):
Default is 1.
parallelism (int):
Max number of tasks that can run in parallel. Default to
min(task_count, 1000). Field parallelism must be 1 if the
scheduling_policy is IN_ORDER.
min(task_count, parallel tasks per job limit). See: `Job
Limits <https://cloud.google.com/batch/quotas#job_limits>`__.
Field parallelism must be 1 if the scheduling_policy is
IN_ORDER.
scheduling_policy (google.cloud.batch_v1alpha.types.TaskGroup.SchedulingPolicy):
Scheduling policy for Tasks in the TaskGroup. The default
value is AS_SOON_AS_POSSIBLE.
Expand Down
3 changes: 3 additions & 0 deletions packages/google-cloud-batch/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@

BLACK_VERSION = "black[jupyter]==23.7.0"
ISORT_VERSION = "isort==5.11.0"

LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"]


DEFAULT_PYTHON_VERSION = "3.9"

UNIT_TEST_PYTHON_VERSIONS: List[str] = ["3.7", "3.8", "3.9", "3.10", "3.11"]
Expand Down Expand Up @@ -89,6 +91,7 @@ def lint(session):
"--check",
*LINT_PATHS,
)

session.run("flake8", "google", "tests")


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-batch",
"version": "0.17.2"
"version": "0.1.0"
},
"snippets": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-batch",
"version": "0.17.2"
"version": "0.1.0"
},
"snippets": [
{
Expand Down