23 from datetime
import date
25 from typing
import TypedDict, Union
36 d, m, y = [int(v)
for v
in value.split(
'.')]
58 ROBOT_LIBRARY_CONVERTERS = {date: parse_date}
62 def type_hints(a: int, b: Direction, c: Point, d: date, e: bool =
True, f: Union[int, date] =
None):
74 int1 = int2 = int3 = int4 = int5 = int6 = int7 = int8 = int9 = int10
155 @keyword('Nön-ÄSCÏÏ', tags=['Nön', 'äscïï', 'tägß'])
160 @
keyword(
'Special ½!"#¤%&/()=?<|>+-_.!~*\'() chars',
161 tags=[
'½!"#¤%&/()=?',
"<|>+-_.!~*\'()"])
def non_ascii(ärg='ööööö')
Älsö döc häs nön-äscïï stüff.
def one_paragraph(one)
Hello, world!
def parse_date(str value)
Date in format dd.mm.yyyy.
def images()
https://github.com/robotframework/visual-identity/raw/master/logo/robot-framework....
def zzz_long_documentation()
Last keyword has a bit longer documentation to make sure page moves when testing linking to keywords.
def tables_alone()
| a | b | c | | 1st | table | here |
def type_hints(int a, Direction b, Point c, date d, bool e=True, Union[int, date] f=None)
We use integer, date, Direction, and many other types.
def multiple_paragraphs(one, two, three='default')
Hello, world!
def preformatted()
| First block | has two lines
def special_chars()
Also doc has ½!"#¤%&/()=?<|>+-_.
def type_aliases(date a, date2 b)
def keyword(name=None, tags=(), types=())
Decorator to set custom name, tags and argument types to keywords.
def not_keyword(func)
Decorator to disable exposing functions or methods as keywords.