code: def get_name_and_version(full_name):
      name_no_version = full_name
      version = None
      parts = full_name.split(".")
      if len(parts) > 1 and parts[-1].isdigit():
          version = int(parts[-1])
          name_no_version = ".".join(parts[:-1])
      return name_no_version, version
  
imports: import datetime
  import json
  import os
  from typing import Dict, List
  import numpy
  from sqlalchemy import JSON, Boolean, Column, DateTime, Index, Integer, String, Table, UniqueConstraint, create_engine, text, types
  from sqlalchemy.exc import OperationalError
  from sqlalchemy.orm import Mapped, declarative_base, relationship, scoped_session, sessionmaker
  from sqlalchemy.sql.schema import ForeignKey
  from mindsdb.utilities.json_encoder import CustomJSONEncoder
label_desc: Use image node_id 1 for calling the Predictor obj's underlying member method code with example usage: obj.get_name_and_version(full_name) and returns: name_no_version,  version