code: def get_server_resource(deploy_params):
      server_resource = {}
      if deploy_params and "server_resource" in deploy_params:
          server_resource = deploy_params["server_resource"]
      return server_resource
  
imports: import time
  import logging
  import string
  import random
  import requests
  import json
  import os
  from yaml.representer import SafeRepresenter
  import yaml
  import tableprint
  import config
label_desc: Use image node_id 10 for calling a global function with example usage: get_server_resource(deploy_params) and returns: server_resource