Skip to content

Commit

Permalink
docs: Add run custom job on persistent resource sample.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 621940735
  • Loading branch information
vertex-sdk-bot authored and Copybara-Service committed Apr 4, 2024
1 parent 137b5e1 commit 53fc845
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from typing import Optional

from google.cloud import aiplatform

Expand All @@ -24,7 +25,7 @@ def create_custom_job_on_persistent_resource_sample(
display_name: str,
container_uri: str,
persistent_resource_id: str,
service_account: str,
service_account: Optional[str] = None,
) -> None:
aiplatform.init(
project=project, location=location, staging_bucket=staging_bucket
Expand Down

0 comments on commit 53fc845

Please sign in to comment.