How to wrap seleniumlibrary on remotelibrary

I am working on remotelibrary study. I want to wrap the robotframework library to make all teams used. I succeed to add below code on the bottom of RequestsKeywords and run well. but when i want to add the same code for seleniumlibrary. I don’t know which file I need to add. I am not a profession programer and don’t understand the selenium library structure. I just want to someone help to make the same result as requestlibrary . Thanks

if name == ‘main’:
import sys
from robotremoteserver import RobotRemoteServer
RobotRemoteServer(RequestsKeywords(),‘10.13.69.35’,‘8270’)

also. i can use class inherit for requestslibrary but for selenium. it also feedback maximum recursion depth exceeded
from robot.libraries.BuiltIn import BuiltIn
from robotremoteserver import RobotRemoteServer
from RequestsLibrary import RequestsLibrary

class importresource3(RequestsLibrary):

#ROBOT_LIBRARY_VERSION = 1.0

def __init__(self):
    pass

if name == ‘main’:
RobotRemoteServer(importresource3(), host=‘10.13.69.35’, port=8272)

Selenium Error:
File “/usr/local/lib/python3.8/site-packages/robotlibcore.py”, line 94, in dir
return sorted(set(my_attrs) | set(self.attributes))
File “/usr/local/lib/python3.8/site-packages/robotlibcore.py”, line 84, in getattr
if name in self.attributes:
File “/usr/local/lib/python3.8/site-packages/robotlibcore.py”, line 84, in getattr
if name in self.attributes:
File “/usr/local/lib/python3.8/site-packages/robotlibcore.py”, line 84, in getattr
if name in self.attributes:
[Previous line repeated 984 more times]
RecursionError: maximum recursion depth exceeded

I change to local call selenium, it still have this issue. it seems I can not inherit the selenium library